// // CCCounterLabel::updateCounter from 0x3c5674 to 0x3c56ec (120 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:46:34 +0000 // void __fastcall CCCounterLabel::updateCounter(CCCounterLabel *this, float a2) { int v2; // r3 int v3; // r2 int v4; // r2 float v5; // s14 int v6; // r2 if ( *((_BYTE *)this + 392) ) { v2 = *((_DWORD *)this + 97); v3 = *((_DWORD *)this + 96); if ( v2 < v3 ) { v4 = v3 - v2; v5 = (float)*((int *)this + 95); if ( (float)v4 <= v5 ) v5 = (float)v4; LABEL_9: *((_DWORD *)this + 97) = (int)(float)((float)v2 + v5); CCCounterLabel::updateString(this, (const char *)this); return; } if ( v2 > v3 ) { v6 = v3 - v2; v5 = (float)*((int *)this + 95); if ( (float)v6 >= v5 ) v5 = (float)v6; goto LABEL_9; } CCCounterLabel::disableCounter(this); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source