// // cocos2d::CCDirector::showStats from 0x100477d40 to 0x100477de2 (162 bytes) // // 0 xrefs: // // 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 12:30:36 +0000 // void __fastcall cocos2d::CCDirector::showStats(__int64 a1) { float v1; // xmm0_4 __int64 v2; // rax v1 = *(float *)(a1 + 168) + *(float *)(a1 + 224); *(float *)(a1 + 224) = v1; if ( *(_BYTE *)(a1 + 217) == 1 ) { v2 = *(_QWORD *)(a1 + 248); if ( v2 ) { if ( v1 > 0.5 ) { *(_DWORD *)(a1 + 224) = 0; sprintf(*(char **)(a1 + 336), "%4lu", (unsigned int)dword_100BE8BE8); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 248) + 1080LL))( *(_QWORD *)(a1 + 248), *(_QWORD *)(a1 + 336)); v2 = *(_QWORD *)(a1 + 248); } (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 752LL))(v2); } } dword_100BE8BE8 = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source