// // cocos2d::CCDirector::removeStatsLabel from 0xd4a338 to 0xd4a410 (216 bytes) // // 2 xrefs: // > GameManager::reloadAllStep2 @ 0x71bbbc // > @ 0xbc848 // // 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:07:37 +0000 // __int64 __fastcall cocos2d::CCDirector::removeStatsLabel(cocos2d::CCDirector *this) { _DWORD *v2; // x0 _DWORD *v3; // x0 cocos2d::CCTextureCache *v4; // x0 cocos2d::CCTextureCache *v5; // x0 int v7; // [xsp+38h] [xbp+38h] BYREF _QWORD v8[2]; // [xsp+40h] [xbp+40h] BYREF void *v9; // [xsp+50h] [xbp+50h] v2 = *((_DWORD **)this + 29); if ( v2 && *((_QWORD *)this + 30) ) { cocos2d::CCObject::release(v2); *((_QWORD *)this + 29) = 0; v3 = *((_DWORD **)this + 30); if ( v3 ) { cocos2d::CCObject::release(v3); *((_QWORD *)this + 30) = 0; } v4 = *((cocos2d::CCTextureCache **)this + 31); if ( v4 ) { v4 = (cocos2d::CCTextureCache *)cocos2d::CCObject::release(v4); *((_QWORD *)this + 31) = 0; } v5 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(v4); cocos2d::CCTextureCache::removeTextureForKey(v5, "cc_fps_images"); } v8[0] = 0; v8[1] = 0; v9 = nullptr; cocos2d::CCPoint::CCPoint(&v7, (const cocos2d::CCPoint *)&unk_15600F8); cocos2d::CCDirector::toggleShowFPS((__int64)this, 0, (char *)v8, (float *)&v7); if ( (v8[0] & 1) != 0 ) operator delete(v9); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source