// // StatsCell::loadFromObject from 0x14014e920 to 0x14014eb83 (611 bytes) // // 2 xrefs: // > CustomListView::loadCell @ 0x140145c4d // > @ 0x1409176e4 // // 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:16 +0000 // __int64 __fastcall StatsCell::loadFromObject(__int64 a1, __int64 a2) { __int64 v3; // rbx __int64 v4; // rdx unsigned int v5; // edi __int64 v6; // rcx const char *TitleFromKey; // rax struct cocos2d::CCLabelBMFont *v8; // rsi cocos2d::CCString *v9; // rax const char *CString; // rax struct cocos2d::CCLabelBMFont *v11; // rdi __int64 v12; // rbx __int64 v13; // rax __int64 v14; // rbx __int64 v15; // rax __int64 v16; // rbx __int64 v17; // rax __int64 v18; // rbx __int64 v19; // rax char v21; // [rsp+50h] [rbp+8h] BYREF v3 = a2; LOBYTE(a2) = -1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(*(_QWORD *)(a1 + 536) + 408LL) + 40LL))( *(_QWORD *)(a1 + 536) + 408LL, a2); LOBYTE(v4) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 544) + 576LL))(*(_QWORD *)(a1 + 544), v4); v5 = *(_DWORD *)(v3 + 64); TitleFromKey = (const char *)StatsCell::getTitleFromKey(v6, *(_QWORD *)(v3 + 56)); v8 = cocos2d::CCLabelBMFont::create(TitleFromKey, "goldFont.fnt"); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 544) + 464LL))( *(_QWORD *)(a1 + 544), v8); if ( *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v8 + 320LL))(v8) > 200.0 ) { fminf( 1.0, 200.0 / *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v8 + 320LL))(v8)); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v8 + 160LL))(v8); } v9 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, v5); CString = cocos2d::CCString::getCString(v9); v11 = cocos2d::CCLabelBMFont::create(CString, "goldFont.fnt"); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 544) + 464LL))( *(_QWORD *)(a1 + 544), v11); if ( *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v11 + 320LL))(v11) > 100.0 ) { fminf( 1.0, 100.0 / *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v11 + 320LL))(v11)); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v11 + 160LL))(v11); } (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v8 + 168LL))(v8); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v8 + 160LL))(v8); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v11 + 168LL))(v11); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v11 + 160LL))(v11); v12 = *(_QWORD *)v8; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v21, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v12 + 288))(v8, v13); v14 = *(_QWORD *)v11; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v21, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v14 + 288))(v11, v15); v16 = *(_QWORD *)v8; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v21, 20.0, (float)(*(float *)(a1 + 532) * 0.5) - 1.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v16 + 184))(v8, v17); v18 = *(_QWORD *)v11; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v21, 330.0, (float)(*(float *)(a1 + 532) * 0.5) - 1.0); return (*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v18 + 184))(v11, v19); }
GD Web Decomp Icon

GD Web Decomp

Raw Source