// // cocos2d::CCProfilingResetTimingBlock from 0xb1edd8 to 0xb1eeb4 (220 bytes) // // 1 xrefs: // > @ 0xab198 // // 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 // void cocos2d::CCProfilingResetTimingBlock(const char *a1) { cocos2d::CCProfiler_vtbl *v1; // x21 cocos2d::CCProfilingTimer *v2; // x20 char *v3; // x0 unsigned int *v4; // x2 int v5; // w1 const char *v7; // [xsp+50h] [xbp+50h] BYREF v1 = cocos2d::CCProfiler::sharedProfiler()[1].__vftable; sub_D153B8((int)&v7, (char *)a1); v2 = (cocos2d::CCProfilingTimer *)cocos2d::CCDictionary::objectForKey((__int64)v1, &v7); v3 = (char *)(v7 - 24); if ( v7 - 24 != (const char *)&qword_124B6B0 ) { if ( &pthread_create ) { v4 = (unsigned int *)(v7 - 8); do v5 = __ldaxr(v4); while ( __stlxr(v5 - 1, v4) ); } else { v5 = *((_DWORD *)v7 - 2); *((_DWORD *)v7 - 2) = v5 - 1; } if ( v5 <= 0 ) operator delete(v3); } cocos2d::CCProfilingTimer::reset(v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source