//
// cocos2d::CCDirector::showStats from 0x100175848 to 0x1001758e4 (156 bytes)
//
// 1 xrefs:
// > cocos2d::CCDirector::drawScene @ 0x100175694
//
// 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; // s0
cocos2d::CCLabelAtlas *m_pDrawsLabel; // x0
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_100885D50);
((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_100885D50 = 0;
}