// // cocos2d::CCProfilingResetTimingBlock from 0xd8f638 to 0xd8f730 (248 bytes) // // 1 xrefs: // > @ 0xe0458 // // This function is hookable on this platform (idp: arm, 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 13:08:18 +0000 // __int64 __fastcall cocos2d::CCProfilingResetTimingBlock(cocos2d *this, const char *a2) { __int64 v3; // x24 size_t v4; // x0 size_t v5; // x19 char *v6; // x3 cocos2d::CCProfilingTimer *v7; // x19 unsigned __int64 v9; // x0 __int64 v10; // [xsp+40h] [xbp+40h] BYREF size_t v11; // [xsp+48h] [xbp+48h] void *v12; // [xsp+50h] [xbp+50h] v3 = *(_QWORD *)(cocos2d::CCProfiler::sharedProfiler(_stack_chk_guard) + 56); v10 = 0; v11 = 0; v12 = nullptr; v4 = strlen((const char *)this); v5 = v4; if ( v4 > 0x16 ) { v9 = (v4 + 16) & 0xFFFFFFFFFFFFFFF0LL; v10 = v9 | 1; v6 = (char *)operator new(v9); v12 = v6; v11 = v5; } else { LOBYTE(v10) = 2 * v4; v6 = (char *)&v10 + 1; if ( !v4 ) goto LABEL_3; } v6 = (char *)memcpy(v6, this, v5); LABEL_3: v6[v5] = 0; v7 = (cocos2d::CCProfilingTimer *)cocos2d::CCDictionary::objectForKey(v3, (__int64)&v10); if ( (v10 & 1) != 0 ) operator delete(v12); cocos2d::CCProfilingTimer::reset(v7); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source