//
// cocos2d::CCDirector::showStats from 0x5c3aac to 0x5c3b16 (106 bytes)
//
// 1 xrefs:
// > cocos2d::CCDirector::drawScene @ 0x5c3be0
//
// 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 cocos2d::CCDirector::showStats(cocos2d::CCDirector *a1)
{
_BOOL4 m_bDisplayStats; // r3
float v3; // s15
int v4; // r2
m_bDisplayStats = a1->m_bDisplayStats;
v3 = a1->m_fAccumDt + a1->m_fDeltaTime;
a1->m_fAccumDt = v3;
if ( m_bDisplayStats && a1->m_pDrawsLabel )
{
if ( v3 > 0.5 )
{
v4 = g_uNumberOfDraws;
a1->m_fAccumDt = 0.0;
sprintf((char *)a1->m_pszFPS, "%4lu", v4);
a1->m_pDrawsLabel->setString(a1->m_pDrawsLabel, a1->m_pszFPS);
}
a1->m_pDrawsLabel->visit(a1->m_pDrawsLabel);
}
g_uNumberOfDraws = 0;
}