I use only Win32 build and you suggestion right AS_PTR_SIZE is equal 1 thats why offsets are 3 and 4.
And asGetLibraryOptions return AS_WIN_AS_X86.
So i compiling script on Win32 build and expect that produced script is platform independent. And looks like Win32 not produce proper bytecode for 64 bit system.
And if it is true so this is very bad news for us. Because our IDE produce ipa for iOS and on IOS byte code must compatible for 32 bit and for 64 bit either. We cannot produce byte only for one system it is ridicules because not all IOS devices shipped with 64 bit CPU. On Android we use only 32 bit build for compatibility and 64 bit bytecode is useless on android.
So if we need 64 bit build of IDE for produce 64 bit compatible byte code it will broke complity export system of our IDE.
Looks like only way for us is stay with current pipeline and pray thats on arm64 angel script continue work without crashes.