; ; GJGameLevel::getLastBuildPageForTab from 0x1402646a0 to 0x140264786 (230 bytes) ; ; 2 xrefs: ; > EditorUI::setupCreateMenu @ 0x1401f077d ; > @ 0x14091c880 ; ; 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:49 +0000 ; push rbx ; +0x0, 0x1402646a0 sub rsp, 60h ; +0x2, 0x1402646a2 mov rax, cs:__security_cookie ; +0x6, 0x1402646a6 xor rax, rsp ; +0xd, 0x1402646ad mov [rsp+68h+var_18], rax ; +0x10, 0x1402646b0 mov rbx, rcx ; +0x15, 0x1402646b5 lea rcx, word_1406ED6F8 ; +0x18, 0x1402646b8 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1f, 0x1402646bf mov rcx, rax ; +0x25, 0x1402646c5 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x28, 0x1402646c8 xorps xmm0, xmm0 ; +0x2e, 0x1402646ce movups xmmword ptr [rsp+68h+Block], xmm0 ; +0x31, 0x1402646d1 xorps xmm1, xmm1 ; +0x36, 0x1402646d6 movdqu [rsp+68h+var_28], xmm1 ; +0x39, 0x1402646d9 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x3f, 0x1402646df inc r8 ; +0x46, 0x1402646e6 cmp byte ptr [rax+r8], 0 ; +0x49, 0x1402646e9 jnz short loc_1402646E6 ; +0x4e, 0x1402646ee mov rdx, rax ; +0x50, 0x1402646f0 lea rcx, [rsp+68h+Block] ; +0x53, 0x1402646f3 call sub_14003D230 ; +0x58, 0x1402646f8 nop ; +0x5d, 0x1402646fd lea rdx, [rsp+68h+Block] ; +0x5e, 0x1402646fe mov rcx, [rbx+140h] ; +0x63, 0x140264703 call cs:?valueForKey@CCDictionary@cocos2d@@QEAAPEBVCCString@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::valueForKey(std::string const &) ; +0x6a, 0x14026470a mov rcx, rax ; +0x70, 0x140264710 call cs:?intValue@CCString@cocos2d@@QEBAHXZ; cocos2d::CCString::intValue(void) ; +0x73, 0x140264713 mov ebx, eax ; +0x79, 0x140264719 mov rdx, qword ptr [rsp+68h+var_28+8] ; +0x7b, 0x14026471b cmp rdx, 0Fh ; +0x80, 0x140264720 jbe short loc_140264771 ; +0x84, 0x140264724 inc rdx ; +0x86, 0x140264726 mov r8, [rsp+68h+Block] ; +0x89, 0x140264729 mov rcx, r8 ; +0x8e, 0x14026472e cmp rdx, 1000h ; +0x91, 0x140264731 jb short loc_140264769 ; +0x98, 0x140264738 add rdx, 27h ; ''' ; +0x9a, 0x14026473a mov r8, [r8-8] ; +0x9e, 0x14026473e sub rcx, r8 ; +0xa2, 0x140264742 sub rcx, 8 ; +0xa5, 0x140264745 cmp rcx, 1Fh ; +0xa9, 0x140264749 jbe short loc_140264769 ; +0xad, 0x14026474d mov [rsp+68h+Reserved], 0; Reserved ; +0xaf, 0x14026474f xor r9d, r9d; LineNo ; +0xb8, 0x140264758 xor r8d, r8d; FileName ; +0xbb, 0x14026475b xor edx, edx; FunctionName ; +0xbe, 0x14026475e xor ecx, ecx; Expression ; +0xc0, 0x140264760 call cs:_invoke_watson ; +0xc2, 0x140264762 db 0CCh ; +0xc8, 0x140264768 mov rcx, r8; Block ; +0xc9, 0x140264769 call j_j_free ; +0xcc, 0x14026476c mov eax, ebx ; +0xd1, 0x140264771 mov rcx, [rsp+68h+var_18] ; +0xd3, 0x140264773 xor rcx, rsp; StackCookie ; +0xd8, 0x140264778 call __security_check_cookie ; +0xdb, 0x14026477b add rsp, 60h ; +0xe0, 0x140264780 pop rbx ; +0xe4, 0x140264784 retn ; +0xe5, 0x140264785