// // cocos2d::CCDirector::showStats from 0x1004833c0 to 0x100483462 (162 bytes) // // 0 xrefs: // // 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 __fastcall cocos2d::CCDirector::showStats(cocos2d::CCDirector *a1) { float v1; // xmm0_4 cocos2d::CCLabelAtlas *m_pDrawsLabel; // rax v1 = a1->m_fDeltaTime + a1->m_fAccumDt; a1->m_fAccumDt = v1; if ( a1->m_bDisplayStats ) { m_pDrawsLabel = a1->m_pDrawsLabel; if ( m_pDrawsLabel ) { if ( v1 > 0.5 ) { a1->m_fAccumDt = 0.0; sprintf(a1->m_pszFPS, "%4lu", (unsigned int)dword_1009A4FB0); ((void (__fastcall *)(cocos2d::CCLabelAtlas *, char *))a1->m_pDrawsLabel->setString)( a1->m_pDrawsLabel, a1->m_pszFPS); m_pDrawsLabel = a1->m_pDrawsLabel; } ((void (__fastcall *)(cocos2d::CCLabelAtlas *))m_pDrawsLabel->visit)(m_pDrawsLabel); } } dword_1009A4FB0 = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source