// // CCCounterLabel::updateString from 0x1005129a0 to 0x100512a38 (152 bytes) // // 4 xrefs: // > CCCounterLabel::create @ 0x1005126ef // > CCCounterLabel::init @ 0x10051279a // > CCCounterLabel::fastUpdateCounter @ 0x1005127c1 // > CCCounterLabel::updateCounter @ 0x100512867 // // 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:31:37 +0000 // void __fastcall CCCounterLabel::updateString(int *a1) { double v1; // xmm0_8 __int64 v2; // rax __int64 CString; // rax char *v4; // rsi size_t v5[2]; // [rsp+0h] [rbp-20h] BYREF void *__p; // [rsp+10h] [rbp-10h] if ( a1[135] == 1 ) { v1 = (float)((float)a1[131] / 100.0); v2 = sub_10088E820("%.2f", v5[0]); CString = cocos2d::CCString::getCString(v2); (*(void (__fastcall **)(int *, __int64, double))(*(_QWORD *)a1 + 928LL))(a1, CString, v1); } else { GameToolbox::intToString(v5, a1[131]); if ( (v5[0] & 1) != 0 ) v4 = (char *)__p; else v4 = (char *)v5 + 1; (*(void (__fastcall **)(int *, char *))(*(_QWORD *)a1 + 928LL))(a1, v4); if ( (v5[0] & 1) != 0 ) operator delete(__p); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source