// // cocos2d::CCDirector::showStats from 0x1800c36a0 to 0x1800c373b (155 bytes) // // 3 xrefs: // > cocos2d::CCDirector::drawScene @ 0x1800c1c81 // > @ 0x18014cf68 // > @ 0x1801c36b4 // // 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:26 +0000 // void __fastcall cocos2d::CCDirector::showStats(cocos2d::CCDirector *this) { bool v1; // zf float v3; // xmm0_4 v1 = *((_BYTE *)this + 217) == 0; v3 = *((float *)this + 42) + *((float *)this + 56); *((float *)this + 56) = v3; if ( !v1 && *((_QWORD *)this + 31) ) { if ( v3 > 0.5 ) { *((_DWORD *)this + 56) = 0; sub_1800095F0(*((char **)this + 42), "%4lu", g_uNumberOfDraws); (**(void (__fastcall ***)(__int64, _QWORD))(*((_QWORD *)this + 31) + 408LL))( *((_QWORD *)this + 31) + 408LL, *((_QWORD *)this + 42)); } (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 31) + 744LL))(*((_QWORD *)this + 31)); } g_uNumberOfDraws = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source