// // GJCompactUserCell::addStat from 0x140158990 to 0x140158bf1 (609 bytes) // // 5 xrefs: // > GJCompactUserCell::buildUserRow @ 0x1401588b8 // > GJCompactUserCell::buildUserRow @ 0x1401588de // > GJCompactUserCell::buildUserRow @ 0x140158904 // > GJCompactUserCell::buildUserRow @ 0x14015892e // > @ 0x1409179d8 // // 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 11:27:21 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall GJCompactUserCell::addStat(int a1, const char *a2, __int64 a3, float *a4, float a5, char a6) { __int16 *v9; // rax struct cocos2d::CCLabelBMFont *v10; // r14 __int64 v11; // rbx __int64 v12; // rax __int64 v13; // rbx __int64 v14; // rax struct cocos2d::CCSprite *v15; // rdi float v16; // xmm7_4 double v17; // xmm0_8 __int64 v18; // rax __int64 v19; // rbx __int64 v20; // rax __int64 v21; // rdx __int64 v22; // rdx float v23; // xmm6_4 double v24; // xmm0_8 __int16 v25; // [rsp+20h] [rbp-98h] BYREF char v26; // [rsp+22h] [rbp-96h] _BYTE v27[8]; // [rsp+24h] [rbp-94h] BYREF _BYTE v28[12]; // [rsp+2Ch] [rbp-8Ch] BYREF __int16 v29[16]; // [rsp+38h] [rbp-80h] BYREF v9 = GameToolbox::intToShortString(v29, a1, 1); if ( *((_QWORD *)v9 + 3) > 0xFu ) v9 = *(__int16 **)v9; v10 = cocos2d::CCLabelBMFont::create((const char *)v9, (const char *)&qword_140704F78); sub_14003D310((__int64)v29); v11 = *(_QWORD *)v10; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v27, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v11 + 288))(v10, v12); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v10 + 160LL))(v10); v13 = *(_QWORD *)v10; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v27, *a4, a5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v13 + 184))(v10, v14); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)a3 + 456LL))(a3, v10, 2); v15 = cocos2d::CCSprite::createWithSpriteFrameName(a2); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v15 + 160LL))(v15); LODWORD(v13) = strcmp(a2, "GJ_starsIcon_001.png"); v16 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v10 + 320LL))(v10); v17 = (*(double (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v10 + 168LL))(v10); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v28, (float)(*(float *)&v17 * v16) + 7.0, (float)(((_DWORD)v13 != 0) - 1)); v19 = v18; v20 = (*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v10 + 200LL))(v10); cocos2d::CCPoint::operator+(v20, v27, v19); (*(void (__fastcall **)(struct cocos2d::CCSprite *, _BYTE *))(*(_QWORD *)v15 + 184LL))(v15, v27); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)a3 + 456LL))(a3, v15, 2); if ( a6 ) { v25 = -32126; v26 = -126; (**((void (__fastcall ***)(__int64, __int16 *))v10 + 46))((__int64)v10 + 368, &v25); LOBYTE(v21) = -106; (*(void (__fastcall **)(__int64, __int64))(*((_QWORD *)v10 + 46) + 40LL))((__int64)v10 + 368, v21); LOBYTE(v22) = 110; (*(void (__fastcall **)(__int64, __int64))(*((_QWORD *)v15 + 40) + 40LL))((__int64)v15 + 320, v22); } v23 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v15 + 320LL))(v15); v24 = (*(double (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v15 + 168LL))(v15); *a4 = (float)((*(float (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v15 + 216LL))(v15) + (float)((float)(*(float *)&v24 * v23) * 0.5)) + 8.0; }