// // PriceLabel::setPrice from 0x6af1d8 to 0x6af330 (344 bytes) // // 2 xrefs: // > PriceLabel::init @ 0x6af418 // > @ 0x8e330 // // 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 12:50:50 +0000 // __int64 __fastcall PriceLabel::setPrice(PriceLabel *this, const char *a2) { __int64 v3; // x22 void (__fastcall *v4)(__int64, __int64); // x23 cocos2d::CCString *v5; // x0 __int64 CString; // x0 float v7; // s11 float *v8; // x0 float v9; // s8 float v10; // s0 __int64 v11; // x22 float v12; // s0 float v13; // s10 void (__fastcall *v14)(__int64, _BYTE *); // x23 float v15; // s8 __int64 v16; // x0 __int64 v17; // x22 PriceLabel *v18; // x0 __int64 (__fastcall *v19)(PriceLabel *); // x1 void (__fastcall *v20)(__int64, _BYTE *); // x19 __int64 v21; // x0 _BYTE v23[8]; // [xsp+60h] [xbp+60h] BYREF v3 = *((_QWORD *)this + 40); v4 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 928LL); v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a2); CString = cocos2d::CCString::getCString(v5); v4(v3, CString); v7 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 40) + 328LL))(*((_QWORD *)this + 40)); v8 = *((float **)this + 41); v9 = v8[108]; v10 = (*(float (__fastcall **)(float *))(*(_QWORD *)v8 + 168LL))(v8); v11 = *((_QWORD *)this + 40); v12 = v9 * v10; v13 = v7 + v12; v14 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v11 + 184LL); v15 = -(float)((float)(v12 * 0.5) - (float)((float)(v7 + v12) * 0.5)); v16 = (*(__int64 (__fastcall **)(PriceLabel *))(*(_QWORD *)this + 328LL))(this); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v23, -(float)-(float)((float)(v7 * 0.5) - (float)(v13 * 0.5)), *(float *)(v16 + 4) * 0.5); v14(v11, v23); v17 = *((_QWORD *)this + 41); v18 = this; v19 = *(__int64 (__fastcall **)(PriceLabel *))(*(_QWORD *)this + 328LL); v20 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v17 + 184LL); v21 = v19(v18); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v23, v15 + 1.0, (float)(*(float *)(v21 + 4) * 0.5) + 5.0); v20(v17, v23); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source