; ; EditorBuildStats::fromString from 0x140266bc0 to 0x140267006 (1094 bytes) ; ; 2 xrefs: ; > GJGameLevel::dataLoaded @ 0x140268b78 ; > @ 0x14091c9b8 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:28:50 +0000 ; mov [rsp-8+arg_10], rbx ; +0x0, 0x140266bc0 mov [rsp-8+arg_18], rsi ; +0x5, 0x140266bc5 push rbp ; +0xa, 0x140266bca push rdi ; +0xb, 0x140266bcb push r12 ; +0xc, 0x140266bcc push r14 ; +0xe, 0x140266bce push r15 ; +0x10, 0x140266bd0 lea rbp, [rsp-0F0h] ; +0x12, 0x140266bd2 sub rsp, 1F0h ; +0x1a, 0x140266bda mov rax, cs:__security_cookie ; +0x21, 0x140266be1 xor rax, rsp ; +0x28, 0x140266be8 mov [rbp+110h+var_30], rax ; +0x2b, 0x140266beb mov r12, rcx ; +0x32, 0x140266bf2 cmp qword ptr [rdx+18h], 0Fh ; +0x35, 0x140266bf5 jbe short loc_140266BFF ; +0x3a, 0x140266bfa mov rdx, [rdx] ; +0x3c, 0x140266bfc xorps xmm0, xmm0 ; +0x3f, 0x140266bff movups xmmword ptr [rbp+110h+Block], xmm0 ; +0x42, 0x140266c02 xorps xmm1, xmm1 ; +0x49, 0x140266c09 movdqu [rbp+110h+var_40], xmm1 ; +0x4c, 0x140266c0c mov rbx, 0FFFFFFFFFFFFFFFFh ; +0x54, 0x140266c14 mov r8, rbx ; +0x5b, 0x140266c1b xchg ax, ax ; +0x5e, 0x140266c1e inc r8 ; +0x60, 0x140266c20 cmp byte ptr [rdx+r8], 0 ; +0x63, 0x140266c23 jnz short loc_140266C20 ; +0x68, 0x140266c28 lea rcx, [rbp+110h+Block] ; +0x6a, 0x140266c2a call sub_14003D230 ; +0x71, 0x140266c31 nop ; +0x76, 0x140266c36 lea rdx, byte_14070ECF8 ; +0x77, 0x140266c37 lea rcx, [rbp+110h+Block] ; +0x7e, 0x140266c3e call sub_1400D2840 ; +0x85, 0x140266c45 mov r14, rax ; +0x8a, 0x140266c4a mov rdx, qword ptr [rbp+110h+var_40+8] ; +0x8d, 0x140266c4d cmp rdx, 0Fh ; +0x94, 0x140266c54 jbe short loc_140266CA3 ; +0x98, 0x140266c58 inc rdx ; +0x9a, 0x140266c5a mov rcx, [rbp+110h+Block]; Block ; +0x9d, 0x140266c5d mov rax, rcx ; +0xa4, 0x140266c64 cmp rdx, 1000h ; +0xa7, 0x140266c67 jb short loc_140266C9E ; +0xae, 0x140266c6e add rdx, 27h ; ''' ; +0xb0, 0x140266c70 mov rcx, [rcx-8] ; +0xb4, 0x140266c74 sub rax, rcx ; +0xb8, 0x140266c78 sub rax, 8 ; +0xbb, 0x140266c7b cmp rax, 1Fh ; +0xbf, 0x140266c7f jbe short loc_140266C9E ; +0xc3, 0x140266c83 xor r15d, r15d ; +0xc5, 0x140266c85 mov [rsp+210h+Reserved], r15; Reserved ; +0xc8, 0x140266c88 xor r9d, r9d; LineNo ; +0xcd, 0x140266c8d xor r8d, r8d; FileName ; +0xd0, 0x140266c90 xor edx, edx; FunctionName ; +0xd3, 0x140266c93 xor ecx, ecx; Expression ; +0xd5, 0x140266c95 call cs:_invoke_watson ; +0xd7, 0x140266c97 align 2 ; +0xdd, 0x140266c9d call j_j_free ; +0xde, 0x140266c9e movdqa xmm0, cs:Size ; +0xe3, 0x140266ca3 movdqu [rbp+110h+var_40], xmm0 ; +0xeb, 0x140266cab mov byte ptr [rbp+110h+Block], 0 ; +0xf3, 0x140266cb3 mov rcx, r14 ; +0xfa, 0x140266cba call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xfd, 0x140266cbd cmp eax, 1 ; +0x103, 0x140266cc3 jb loc_140266FDB ; +0x106, 0x140266cc6 xor edx, edx ; +0x10c, 0x140266ccc mov rcx, r14 ; +0x10e, 0x140266cce call cs:?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x111, 0x140266cd1 mov rcx, rax ; +0x117, 0x140266cd7 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x11a, 0x140266cda mov rcx, rax; String ; +0x120, 0x140266ce0 call cs:atoi ; +0x123, 0x140266ce3 cmp eax, 1 ; +0x129, 0x140266ce9 jl loc_140266FDB ; +0x12c, 0x140266cec xorps xmm0, xmm0 ; +0x132, 0x140266cf2 xor eax, eax ; +0x135, 0x140266cf5 movups [rsp+210h+var_1E0], xmm0 ; +0x137, 0x140266cf7 movups [rsp+210h+var_1D0], xmm0 ; +0x13c, 0x140266cfc movups [rsp+210h+var_1C0], xmm0 ; +0x141, 0x140266d01 movups [rsp+210h+var_1B0], xmm0 ; +0x146, 0x140266d06 movups [rsp+210h+var_1A0], xmm0 ; +0x14b, 0x140266d0b mov [rbp+110h+var_190], rax ; +0x150, 0x140266d10 xor r15d, r15d ; +0x154, 0x140266d14 mov esi, r15d ; +0x157, 0x140266d17 mov edi, 1 ; +0x15a, 0x140266d1a nop ; +0x15f, 0x140266d1f mov rcx, r14 ; +0x160, 0x140266d20 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x163, 0x140266d23 cmp edi, eax ; +0x169, 0x140266d29 jge short loc_140266D59 ; +0x16b, 0x140266d2b mov edx, edi ; +0x16d, 0x140266d2d mov rcx, r14 ; +0x16f, 0x140266d2f call cs:?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x172, 0x140266d32 mov rcx, rax ; +0x178, 0x140266d38 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x17b, 0x140266d3b mov rcx, rax; String ; +0x181, 0x140266d41 call cs:atoi ; +0x184, 0x140266d44 mov dword ptr [rsp+rsi*4+210h+var_1E0], eax ; +0x18a, 0x140266d4a inc edi ; +0x18e, 0x140266d4e inc rsi ; +0x190, 0x140266d50 cmp rsi, 16h ; +0x193, 0x140266d53 jl short loc_140266D20 ; +0x197, 0x140266d57 mov eax, dword ptr [rsp+210h+var_1E0] ; +0x199, 0x140266d59 mov [r12], eax ; +0x19d, 0x140266d5d mov eax, dword ptr [rsp+210h+var_1E0+4] ; +0x1a1, 0x140266d61 mov [r12+4], eax ; +0x1a5, 0x140266d65 mov eax, dword ptr [rsp+210h+var_1E0+8] ; +0x1aa, 0x140266d6a mov [r12+8], eax ; +0x1ae, 0x140266d6e mov eax, dword ptr [rsp+210h+var_1E0+0Ch] ; +0x1b3, 0x140266d73 mov [r12+0Ch], eax ; +0x1b7, 0x140266d77 mov eax, dword ptr [rsp+210h+var_1D0] ; +0x1bc, 0x140266d7c mov [r12+10h], eax ; +0x1c0, 0x140266d80 mov eax, dword ptr [rsp+210h+var_1D0+4] ; +0x1c5, 0x140266d85 mov [r12+14h], eax ; +0x1c9, 0x140266d89 mov eax, dword ptr [rsp+210h+var_1D0+8] ; +0x1ce, 0x140266d8e mov [r12+18h], eax ; +0x1d2, 0x140266d92 movd xmm0, dword ptr [rsp+210h+var_1D0+0Ch] ; +0x1d7, 0x140266d97 cvtdq2ps xmm0, xmm0 ; +0x1dd, 0x140266d9d movss dword ptr [r12+1Ch], xmm0 ; +0x1e0, 0x140266da0 mov eax, dword ptr [rsp+210h+var_1C0] ; +0x1e7, 0x140266da7 mov [r12+20h], eax ; +0x1eb, 0x140266dab mov eax, dword ptr [rsp+210h+var_1C0+4] ; +0x1f0, 0x140266db0 mov [r12+40h], eax ; +0x1f4, 0x140266db4 mov eax, dword ptr [rsp+210h+var_1C0+8] ; +0x1f9, 0x140266db9 mov [r12+44h], eax ; +0x1fd, 0x140266dbd mov eax, dword ptr [rsp+210h+var_1C0+0Ch] ; +0x202, 0x140266dc2 mov [r12+48h], eax ; +0x206, 0x140266dc6 mov eax, dword ptr [rsp+210h+var_1B0] ; +0x20b, 0x140266dcb mov [r12+4Ch], eax ; +0x20f, 0x140266dcf mov eax, dword ptr [rsp+210h+var_1B0+4] ; +0x214, 0x140266dd4 mov [r12+50h], eax ; +0x218, 0x140266dd8 mov eax, dword ptr [rsp+210h+var_1B0+8] ; +0x21d, 0x140266ddd mov [r12+54h], eax ; +0x221, 0x140266de1 mov eax, dword ptr [rsp+210h+var_1B0+0Ch] ; +0x226, 0x140266de6 mov [r12+58h], eax ; +0x22a, 0x140266dea mov eax, dword ptr [rsp+210h+var_1A0] ; +0x22f, 0x140266def mov [r12+5Ch], eax ; +0x233, 0x140266df3 mov eax, dword ptr [rsp+210h+var_1A0+4] ; +0x238, 0x140266df8 mov [r12+24h], eax ; +0x23c, 0x140266dfc mov eax, dword ptr [rsp+210h+var_1A0+8] ; +0x241, 0x140266e01 mov [r12+28h], eax ; +0x245, 0x140266e05 mov rcx, r14 ; +0x24a, 0x140266e0a call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x24d, 0x140266e0d cmp eax, 14h ; +0x253, 0x140266e13 jbe short loc_140266E31 ; +0x256, 0x140266e16 mov edx, 14h ; +0x258, 0x140266e18 mov rcx, r14 ; +0x25d, 0x140266e1d call cs:?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x260, 0x140266e20 mov rcx, rax ; +0x266, 0x140266e26 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x269, 0x140266e29 jmp short loc_140266E38 ; +0x26f, 0x140266e2f lea rax, byte_1406ED6E0 ; +0x271, 0x140266e31 xorps xmm0, xmm0 ; +0x278, 0x140266e38 movups xmmword ptr [rbp+110h+String], xmm0 ; +0x27b, 0x140266e3b mov [rbp+110h+var_60], r15 ; +0x282, 0x140266e42 mov [rbp+110h+var_58], r15 ; +0x289, 0x140266e49 inc rbx ; +0x290, 0x140266e50 cmp [rax+rbx], r15b ; +0x293, 0x140266e53 jnz short loc_140266E50 ; +0x297, 0x140266e57 mov r8, rbx ; +0x299, 0x140266e59 mov rdx, rax ; +0x29c, 0x140266e5c lea rcx, [rbp+110h+String] ; +0x29f, 0x140266e5f call sub_14003D230 ; +0x2a6, 0x140266e66 nop ; +0x2ab, 0x140266e6b mov rcx, [rbp+110h+var_60] ; +0x2ac, 0x140266e6c lea rax, [rcx-1] ; +0x2b3, 0x140266e73 mov r14, [rbp+110h+var_58] ; +0x2b7, 0x140266e77 mov rbx, [rbp+110h+String] ; +0x2be, 0x140266e7e cmp rax, 12h ; +0x2c5, 0x140266e85 ja loc_140266F7A ; +0x2c9, 0x140266e89 lea rdi, [rbp+110h+String] ; +0x2cf, 0x140266e8f cmp r14, 0Fh ; +0x2d6, 0x140266e96 cmova rdi, rbx ; +0x2da, 0x140266e9a test rcx, rcx ; +0x2de, 0x140266e9e jz short loc_140266F0D ; +0x2e1, 0x140266ea1 lea rsi, [rcx+rdi] ; +0x2e3, 0x140266ea3 xor edx, edx; Val ; +0x2e7, 0x140266ea7 mov r8d, 100h; Size ; +0x2e9, 0x140266ea9 lea rcx, [rbp+110h+var_170]; void * ; +0x2ef, 0x140266eaf call memset ; +0x2f3, 0x140266eb3 lea rcx, a0123456789; "0123456789" ; +0x2f8, 0x140266eb8 lea rdx, a0123456789+0Ah; "" ; +0x2ff, 0x140266ebf nop word ptr [rax+rax+00000000h] ; +0x306, 0x140266ec6 movzx eax, byte ptr [rcx] ; +0x310, 0x140266ed0 mov [rbp+rax+110h+var_170], 1 ; +0x313, 0x140266ed3 inc rcx ; +0x318, 0x140266ed8 cmp rcx, rdx ; +0x31b, 0x140266edb jnz short loc_140266ED0 ; +0x31e, 0x140266ede mov rcx, rdi ; +0x320, 0x140266ee0 cmp rdi, rsi ; +0x323, 0x140266ee3 jnb short loc_140266F0D ; +0x326, 0x140266ee6 nop dword ptr [rax+rax+00000000h] ; +0x328, 0x140266ee8 movzx eax, byte ptr [rcx] ; +0x330, 0x140266ef0 cmp [rbp+rax+110h+var_170], 0 ; +0x333, 0x140266ef3 jz short loc_140266F04 ; +0x338, 0x140266ef8 inc rcx ; +0x33a, 0x140266efa cmp rcx, rsi ; +0x33d, 0x140266efd jb short loc_140266EF0 ; +0x340, 0x140266f00 jmp short loc_140266F0D ; +0x342, 0x140266f02 sub rcx, rdi ; +0x344, 0x140266f04 cmp rcx, 0FFFFFFFFFFFFFFFFh ; +0x347, 0x140266f07 jnz short loc_140266F7A ; +0x34b, 0x140266f0b call cs:_errno ; +0x34d, 0x140266f0d mov rdi, rax ; +0x353, 0x140266f13 lea rbx, [rbp+110h+String] ; +0x356, 0x140266f16 cmp [rbp+110h+var_58], 0Fh ; +0x35d, 0x140266f1d cmova rbx, [rbp+110h+String] ; +0x365, 0x140266f25 mov [rax], r15d ; +0x36d, 0x140266f2d mov r8d, 0Ah; Radix ; +0x370, 0x140266f30 lea rdx, [rbp+110h+EndPtr]; EndPtr ; +0x376, 0x140266f36 mov rcx, rbx; String ; +0x37a, 0x140266f3a call cs:strtoull ; +0x37d, 0x140266f3d cmp rbx, [rbp+110h+EndPtr] ; +0x383, 0x140266f43 jnz short loc_140266F57 ; +0x387, 0x140266f47 lea rcx, aInvalidStoullA; "invalid stoull argument" ; +0x389, 0x140266f49 call cs:?_Xinvalid_argument@std@@YAXPEBD@Z; std::_Xinvalid_argument(char const *) ; +0x390, 0x140266f50 int 3; Trap to Debugger ; +0x396, 0x140266f56 cmp dword ptr [rdi], 22h ; '"' ; +0x397, 0x140266f57 jnz short loc_140266F6A ; +0x39a, 0x140266f5a lea rcx, aStoullArgument; "stoull argument out of range" ; +0x39c, 0x140266f5c call cs:?_Xout_of_range@std@@YAXPEBD@Z; std::_Xout_of_range(char const *) ; +0x3a3, 0x140266f63 int 3; Trap to Debugger ; +0x3a9, 0x140266f69 mov r14, [rbp+110h+var_58] ; +0x3aa, 0x140266f6a mov rbx, [rbp+110h+String] ; +0x3b1, 0x140266f71 jmp short loc_140266F7D ; +0x3b8, 0x140266f78 mov rax, r15 ; +0x3ba, 0x140266f7a mov [r12+30h], rax ; +0x3bd, 0x140266f7d mov eax, dword ptr [rbp+110h+var_190] ; +0x3c2, 0x140266f82 mov [r12+38h], eax ; +0x3c5, 0x140266f85 mov eax, dword ptr [rbp+110h+var_190+4] ; +0x3ca, 0x140266f8a mov [r12+3Ch], eax ; +0x3cd, 0x140266f8d cmp r14, 0Fh ; +0x3d2, 0x140266f92 jbe short loc_140266FDB ; +0x3d6, 0x140266f96 lea rdx, [r14+1] ; +0x3d8, 0x140266f98 mov rax, rbx ; +0x3dc, 0x140266f9c cmp rdx, 1000h ; +0x3df, 0x140266f9f jb short loc_140266FD3 ; +0x3e6, 0x140266fa6 add rdx, 27h ; ''' ; +0x3e8, 0x140266fa8 mov rbx, [rbx-8] ; +0x3ec, 0x140266fac sub rax, rbx ; +0x3f0, 0x140266fb0 sub rax, 8 ; +0x3f3, 0x140266fb3 cmp rax, 1Fh ; +0x3f7, 0x140266fb7 jbe short loc_140266FD3 ; +0x3fb, 0x140266fbb mov [rsp+210h+Reserved], r15; Reserved ; +0x3fd, 0x140266fbd xor r9d, r9d; LineNo ; +0x402, 0x140266fc2 xor r8d, r8d; FileName ; +0x405, 0x140266fc5 xor edx, edx; FunctionName ; +0x408, 0x140266fc8 xor ecx, ecx; Expression ; +0x40a, 0x140266fca call cs:_invoke_watson ; +0x40c, 0x140266fcc db 0CCh ; +0x412, 0x140266fd2 mov rcx, rbx; Block ; +0x413, 0x140266fd3 call j_j_free ; +0x416, 0x140266fd6 mov rcx, [rbp+110h+var_30] ; +0x41b, 0x140266fdb xor rcx, rsp; StackCookie ; +0x422, 0x140266fe2 call __security_check_cookie ; +0x425, 0x140266fe5 lea r11, [rsp+210h+var_20] ; +0x42a, 0x140266fea mov rbx, [r11+40h] ; +0x432, 0x140266ff2 mov rsi, [r11+48h] ; +0x436, 0x140266ff6 mov rsp, r11 ; +0x43a, 0x140266ffa pop r15 ; +0x43d, 0x140266ffd pop r14 ; +0x43f, 0x140266fff pop r12 ; +0x441, 0x140267001 pop rdi ; +0x443, 0x140267003 pop rbp ; +0x444, 0x140267004 retn ; +0x445, 0x140267005