// // cocos2d::CCProfilingResetTimingBlock from 0x180094630 to 0x1800946fe (206 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b6708 // // 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 // // Hidden C++ exception states: #wind=1 void __fastcall cocos2d::CCProfilingResetTimingBlock(cocos2d *this, const char *a2) { struct cocos2d::CCProfiler *v3; // rdi __int64 v4; // rbx struct cocos2d::timezone *v5; // r8 void *v6; // rcx void *Block[2]; // [rsp+20h] [rbp-38h] BYREF __m128i si128; // [rsp+30h] [rbp-28h] v3 = cocos2d::CCProfiler::sharedProfiler(); sub_180005910(Block, this); v4 = cocos2d::CCDictionary::objectForKey((__int64)v3[1].__vftable, (unsigned __int8 *)Block); if ( si128.m128i_i64[1] > 0xFuLL ) { v6 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v6 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free_0(v6); } si128 = _mm_load_si128((const __m128i *)&xmmword_1800E7160); LOBYTE(Block[0]) = 0; *(_QWORD *)(v4 + 88) = 0; *(_DWORD *)(v4 + 96) = 0; *(_QWORD *)(v4 + 104) = 0; *(_QWORD *)(v4 + 112) = 100000000; cocos2d::gettimeofday((cocos2d *)(v4 + 120), nullptr, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source