; ; cocos2d::CCProfilingResetTimingBlock from 0x180097d70 to 0x180097e4f (223 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801c09a8 ; ; 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:22:10 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x180097d70 push rdi ; +0x5, 0x180097d75 sub rsp, 60h ; +0x6, 0x180097d76 mov rax, cs:__security_cookie ; +0xa, 0x180097d7a xor rax, rsp ; +0x11, 0x180097d81 mov [rsp+68h+var_18], rax ; +0x14, 0x180097d84 mov rbx, rcx ; +0x19, 0x180097d89 call ?sharedProfiler@CCProfiler@cocos2d@@SAPEAV12@XZ; cocos2d::CCProfiler::sharedProfiler(void) ; +0x1c, 0x180097d8c mov rdi, rax ; +0x21, 0x180097d91 mov rdx, rbx; Str ; +0x24, 0x180097d94 lea rcx, [rsp+68h+Block]; void * ; +0x27, 0x180097d97 call sub_180005A10 ; +0x2c, 0x180097d9c nop ; +0x31, 0x180097da1 lea rdx, [rsp+68h+Block] ; +0x32, 0x180097da2 mov rcx, [rdi+38h] ; +0x37, 0x180097da7 call ?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x3b, 0x180097dab mov rbx, rax ; +0x40, 0x180097db0 mov rdx, [rsp+68h+var_20] ; +0x43, 0x180097db3 cmp rdx, 0Fh ; +0x48, 0x180097db8 jbe short loc_180097E04 ; +0x4c, 0x180097dbc inc rdx ; +0x4e, 0x180097dbe mov rcx, [rsp+68h+Block]; Block ; +0x51, 0x180097dc1 mov rax, rcx ; +0x56, 0x180097dc6 cmp rdx, 1000h ; +0x59, 0x180097dc9 jb short loc_180097DFF ; +0x60, 0x180097dd0 add rdx, 27h ; ''' ; +0x62, 0x180097dd2 mov rcx, [rcx-8] ; +0x66, 0x180097dd6 sub rax, rcx ; +0x6a, 0x180097dda sub rax, 8 ; +0x6d, 0x180097ddd cmp rax, 1Fh ; +0x71, 0x180097de1 jbe short loc_180097DFF ; +0x75, 0x180097de5 xor eax, eax ; +0x77, 0x180097de7 mov [rsp+68h+Reserved], rax; Reserved ; +0x79, 0x180097de9 xor r9d, r9d; LineNo ; +0x7e, 0x180097dee xor r8d, r8d; FileName ; +0x81, 0x180097df1 xor edx, edx; FunctionName ; +0x84, 0x180097df4 xor ecx, ecx; Expression ; +0x86, 0x180097df6 call cs:_invoke_watson ; +0x88, 0x180097df8 db 0CCh ; +0x8e, 0x180097dfe call j_j_free_0 ; +0x8f, 0x180097dff movdqa xmm0, cs:xmmword_1800EC500 ; +0x94, 0x180097e04 movdqu xmmword ptr [rsp+40h], xmm0 ; +0x9c, 0x180097e0c mov byte ptr [rsp+68h+Block], 0 ; +0xa2, 0x180097e12 xor eax, eax ; +0xa7, 0x180097e17 mov [rbx+58h], rax ; +0xa9, 0x180097e19 mov [rbx+60h], eax ; +0xad, 0x180097e1d mov [rbx+68h], rax ; +0xb0, 0x180097e20 mov qword ptr [rbx+70h], 5F5E100h ; +0xb4, 0x180097e24 lea rcx, [rbx+78h]; this ; +0xbc, 0x180097e2c xor edx, edx; struct timeval * ; +0xc0, 0x180097e30 call ?gettimeofday@cocos2d@@YAHPEAUtimeval@@PEAUtimezone@1@@Z; cocos2d::gettimeofday(timeval *,cocos2d::timezone *) ; +0xc2, 0x180097e32 mov rcx, [rsp+68h+var_18] ; +0xc7, 0x180097e37 xor rcx, rsp; StackCookie ; +0xcc, 0x180097e3c call __security_check_cookie ; +0xcf, 0x180097e3f mov rbx, [rsp+68h+arg_8] ; +0xd4, 0x180097e44 add rsp, 60h ; +0xd9, 0x180097e49 pop rdi ; +0xdd, 0x180097e4d retn ; +0xde, 0x180097e4e