// // PriceLabel::setPrice from 0x3d7b1c to 0x3d7c14 (248 bytes) // // 1 xrefs: // > PriceLabel::init @ 0x3d7ca2 // // 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:45 +0000 // int __fastcall PriceLabel::setPrice(PriceLabel *this, const char *a2) { int v3; // r5 void (__fastcall *v4)(int, int); // r7 cocos2d::CCString *v5; // r0 int CString; // r0 float v7; // s19 float *v8; // r0 float v9; // s18 float v10; // r0 int v11; // r7 void (__fastcall *v12)(int, _BYTE *); // r8 float v13; // s15 int v14; // r0 int v15; // r7 int (__fastcall *v16)(int, _BYTE *); // r8 int v17; // r0 _BYTE v19[8]; // [sp+4h] [bp-Ch] BYREF v3 = *((_DWORD *)this + 66); v4 = *(void (__fastcall **)(int, int))(*(_DWORD *)v3 + 464); v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a2); CString = cocos2d::CCString::getCString(v5); v4(v3, CString); v7 = *(float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 66) + 164))(*((_DWORD *)this + 66)); v8 = *((float **)this + 67); v9 = v8[86]; v10 = COERCE_FLOAT((*(int (__fastcall **)(float *))(*(_DWORD *)v8 + 84))(v8)); v11 = *((_DWORD *)this + 66); v12 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v11 + 92); v13 = v9 * v10; v14 = (*(int (__fastcall **)(PriceLabel *))(*(_DWORD *)this + 164))(this); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v19, -(float)((float)((float)(v7 + v13) * 0.5) - (float)(v7 * 0.5)), *(float *)(v14 + 4) * 0.5); v12(v11, v19); v15 = *((_DWORD *)this + 67); v16 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v15 + 92); v17 = (*(int (__fastcall **)(PriceLabel *))(*(_DWORD *)this + 164))(this); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v19, (float)((float)((float)(v7 + v13) * 0.5) - (float)(v13 * 0.5)) + 1.0, (float)(*(float *)(v17 + 4) * 0.5) + 5.0); return v16(v15, v19); }
GD Web Decomp Icon

GD Web Decomp

Raw Source