; ; GJGameLevel::getLastBuildPageForTab from 0x14016ce20 to 0x14016cef0 (208 bytes) ; ; 2 xrefs: ; > EditorUI::setupCreateMenu @ 0x14010dd77 ; > @ 0x1406cadd0 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbx ; +0x0, 0x14016ce20 sub rsp, 50h ; +0x2, 0x14016ce22 mov rax, cs:__security_cookie ; +0x6, 0x14016ce26 xor rax, rsp ; +0xd, 0x14016ce2d mov [rsp+58h+var_18], rax ; +0x10, 0x14016ce30 mov rbx, rcx ; +0x15, 0x14016ce35 lea rcx, aI_11; "%i" ; +0x18, 0x14016ce38 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1f, 0x14016ce3f mov rcx, rax ; +0x25, 0x14016ce45 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x28, 0x14016ce48 xorps xmm0, xmm0 ; +0x2e, 0x14016ce4e movups xmmword ptr [rsp+58h+Block], xmm0 ; +0x31, 0x14016ce51 xorps xmm1, xmm1 ; +0x36, 0x14016ce56 movdqu [rsp+58h+var_28], xmm1 ; +0x39, 0x14016ce59 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x3f, 0x14016ce5f inc r8 ; +0x46, 0x14016ce66 cmp byte ptr [rax+r8], 0 ; +0x49, 0x14016ce69 jnz short loc_14016CE66 ; +0x4e, 0x14016ce6e mov rdx, rax ; +0x50, 0x14016ce70 lea rcx, [rsp+58h+Block] ; +0x53, 0x14016ce73 call sub_14003A930 ; +0x58, 0x14016ce78 nop ; +0x5d, 0x14016ce7d lea rdx, [rsp+58h+Block] ; +0x5e, 0x14016ce7e mov rcx, [rbx+140h] ; +0x63, 0x14016ce83 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, 0x14016ce8a mov rcx, rax ; +0x70, 0x14016ce90 call cs:?intValue@CCString@cocos2d@@QEBAHXZ; cocos2d::CCString::intValue(void) ; +0x73, 0x14016ce93 mov ebx, eax ; +0x79, 0x14016ce99 mov rdx, qword ptr [rsp+58h+var_28+8] ; +0x7b, 0x14016ce9b cmp rdx, 0Fh ; +0x80, 0x14016cea0 jbe short loc_14016CEDB ; +0x84, 0x14016cea4 inc rdx ; +0x86, 0x14016cea6 mov rcx, [rsp+58h+Block]; Block ; +0x89, 0x14016cea9 mov rax, rcx ; +0x8e, 0x14016ceae cmp rdx, 1000h ; +0x91, 0x14016ceb1 jb short loc_14016CED6 ; +0x98, 0x14016ceb8 add rdx, 27h ; ''' ; +0x9a, 0x14016ceba mov rcx, [rcx-8] ; +0x9e, 0x14016cebe sub rax, rcx ; +0xa2, 0x14016cec2 add rax, 0FFFFFFFFFFFFFFF8h ; +0xa5, 0x14016cec5 cmp rax, 1Fh ; +0xa9, 0x14016cec9 jbe short loc_14016CED6 ; +0xad, 0x14016cecd call cs:_invalid_parameter_noinfo_noreturn ; +0xaf, 0x14016cecf align 2 ; +0xb5, 0x14016ced5 call j_j_free ; +0xb6, 0x14016ced6 mov eax, ebx ; +0xbb, 0x14016cedb mov rcx, [rsp+58h+var_18] ; +0xbd, 0x14016cedd xor rcx, rsp; StackCookie ; +0xc2, 0x14016cee2 call __security_check_cookie ; +0xc5, 0x14016cee5 add rsp, 50h ; +0xca, 0x14016ceea pop rbx ; +0xce, 0x14016ceee retn ; +0xcf, 0x14016ceef