//
// cocos2d::CCDirector::showStats from 0x100206dc4 to 0x100206e60 (156 bytes)
//
// 1 xrefs:
// > cocos2d::CCDirector::drawScene @ 0x100206c10
//
// 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 11:00:57 +0000
//
__int64 __fastcall cocos2d::CCDirector::showStats(__int64 result)
{
float v1; // s0
__int64 v2; // x19
v1 = *(float *)(result + 168) + *(float *)(result + 224);
*(float *)(result + 224) = v1;
if ( *(_BYTE *)(result + 217) == 1 )
{
v2 = result;
result = *(_QWORD *)(result + 248);
if ( result )
{
if ( v1 > 0.5 )
{
*(_DWORD *)(v2 + 224) = 0;
sprintf(*(char **)(v2 + 336), "%4lu", (unsigned int)dword_100A0F904);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v2 + 248) + 1080LL))(
*(_QWORD *)(v2 + 248),
*(_QWORD *)(v2 + 336));
result = *(_QWORD *)(v2 + 248);
}
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 752LL))(result);
}
}
dword_100A0F904 = 0;
return result;
}