; ; GameLevelManager::setLenVal from 0x14016a870 to 0x14016a955 (229 bytes) ; ; 3 xrefs: ; > LevelSearchLayer::toggleTime @ 0x1403126b9 ; > LevelSearchLayer::toggleTimeNum @ 0x140312856 ; > @ 0x1406cad64 ; ; 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 ; mov [rsp+arg_18], rbx ; +0x0, 0x14016a870 push rdi ; +0x5, 0x14016a875 sub rsp, 50h ; +0x6, 0x14016a876 mov rax, cs:__security_cookie ; +0xa, 0x14016a87a xor rax, rsp ; +0x11, 0x14016a881 mov [rsp+58h+var_18], rax ; +0x14, 0x14016a884 movzx edi, r8b ; +0x19, 0x14016a889 mov rbx, rcx ; +0x1d, 0x14016a88d lea rcx, aLenI; "Len%i" ; +0x20, 0x14016a890 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x27, 0x14016a897 mov rcx, rax ; +0x2d, 0x14016a89d call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x30, 0x14016a8a0 xorps xmm0, xmm0 ; +0x36, 0x14016a8a6 movups xmmword ptr [rsp+58h+Block], xmm0 ; +0x39, 0x14016a8a9 xorps xmm1, xmm1 ; +0x3e, 0x14016a8ae movdqu [rsp+58h+var_28], xmm1 ; +0x41, 0x14016a8b1 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x47, 0x14016a8b7 xchg ax, ax ; +0x4e, 0x14016a8be inc r8 ; +0x50, 0x14016a8c0 cmp byte ptr [rax+r8], 0 ; +0x53, 0x14016a8c3 jnz short loc_14016A8C0 ; +0x58, 0x14016a8c8 mov rdx, rax ; +0x5a, 0x14016a8ca lea rcx, [rsp+58h+Block] ; +0x5d, 0x14016a8cd call sub_14003A930 ; +0x62, 0x14016a8d2 nop ; +0x67, 0x14016a8d7 mov edx, edi ; +0x68, 0x14016a8d8 lea rcx, aI_11; "%i" ; +0x6a, 0x14016a8da call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x71, 0x14016a8e1 mov rdx, rax ; +0x77, 0x14016a8e7 lea r8, [rsp+58h+Block] ; +0x7a, 0x14016a8ea mov rcx, [rbx+158h] ; +0x7f, 0x14016a8ef call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const &) ; +0x86, 0x14016a8f6 nop ; +0x8c, 0x14016a8fc mov rdx, qword ptr [rsp+58h+var_28+8] ; +0x8d, 0x14016a8fd cmp rdx, 0Fh ; +0x92, 0x14016a902 jbe short loc_14016A93D ; +0x96, 0x14016a906 inc rdx ; +0x98, 0x14016a908 mov rcx, [rsp+58h+Block]; Block ; +0x9b, 0x14016a90b mov rax, rcx ; +0xa0, 0x14016a910 cmp rdx, 1000h ; +0xa3, 0x14016a913 jb short loc_14016A938 ; +0xaa, 0x14016a91a add rdx, 27h ; ''' ; +0xac, 0x14016a91c mov rcx, [rcx-8] ; +0xb0, 0x14016a920 sub rax, rcx ; +0xb4, 0x14016a924 add rax, 0FFFFFFFFFFFFFFF8h ; +0xb7, 0x14016a927 cmp rax, 1Fh ; +0xbb, 0x14016a92b jbe short loc_14016A938 ; +0xbf, 0x14016a92f call cs:_invalid_parameter_noinfo_noreturn ; +0xc1, 0x14016a931 align 8 ; +0xc7, 0x14016a937 call j_j_free ; +0xc8, 0x14016a938 mov rcx, [rsp+58h+var_18] ; +0xcd, 0x14016a93d xor rcx, rsp; StackCookie ; +0xd2, 0x14016a942 call __security_check_cookie ; +0xd5, 0x14016a945 mov rbx, [rsp+58h+arg_18] ; +0xda, 0x14016a94a add rsp, 50h ; +0xdf, 0x14016a94f pop rdi ; +0xe3, 0x14016a953 retn ; +0xe4, 0x14016a954