// // DeathTrackerPopup::mountVirtualRow from 0x14010cd10 to 0x14010d6a2 (2450 bytes) // // 2 xrefs: // > @ 0x14072f5f8 // > @ 0x140915aac // // 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:26:48 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall DeathTrackerPopup::mountVirtualRow(__int64 a1, int a2, __int64 a3, int a4) { __int64 v6; // r14 __int64 v7; // r15 float v8; // xmm7_4 float v9; // xmm1_4 float v10; // xmm6_4 int v11; // ecx int v12; // ecx int v13; // ecx int v14; // ecx cocos2d::CCString *v15; // rax const char *CString; // rax size_t v17; // rsi size_t v18; // r8 void **v19; // rcx struct cocos2d::CCLabelBMFont *v20; // rdi __int64 v21; // rbx __int64 v22; // rax __int64 v23; // rbx __int64 v24; // rax void *v25; // rcx cocos2d::CCString *v26; // rax const char *v27; // rax void **v28; // rcx struct cocos2d::CCLabelBMFont *v29; // rdi __int64 v30; // rbx __int64 v31; // rax __int64 v32; // rbx __int64 v33; // rax void *v34; // rcx struct cocos2d::CCSprite *v35; // rdi __int64 v36; // rdx __int64 v37; // rbx __int64 v38; // rax cocos2d::CCString *v39; // rax const char *v40; // rax struct cocos2d::CCLabelBMFont *v41; // rdi __int64 v42; // rbx __int64 v43; // rax _BYTE *v44; // rax float v45; // xmm1_4 cocos2d::CCString *v46; // rax const char *v47; // rax size_t v48; // rsi size_t v49; // r8 void **v50; // rcx struct cocos2d::CCLabelBMFont *v51; // rdi __int64 v52; // rbx __int64 v53; // rax __int64 v54; // rbx __int64 v55; // rax void *v56; // rcx cocos2d::CCString *v57; // rax const char *v58; // rax struct cocos2d::CCLabelBMFont *v59; // rdi _BYTE *v60; // rax __int64 v61; // rbx __int64 v62; // rax int v63; // ecx const char *v64; // rdx float v65; // xmm6_4 void **v66; // rcx struct cocos2d::CCLabelBMFont *v67; // rdi __int64 v68; // rbx __int64 v69; // rax __int64 v70; // rbx __int64 v71; // rax __int64 v72; // rcx __int64 v73; // rbx __int64 v74; // rax __int64 v75; // rcx __int64 v76; // rbx __int64 v77; // rax __int64 v78; // rbx __int64 v79; // rax __int16 v80; // [rsp+38h] [rbp-89h] BYREF char v81; // [rsp+3Ah] [rbp-87h] __int16 v82; // [rsp+48h] [rbp-79h] BYREF char v83; // [rsp+4Ah] [rbp-77h] _BYTE v84[12]; // [rsp+4Ch] [rbp-75h] BYREF __int16 v85; // [rsp+58h] [rbp-69h] BYREF char v86; // [rsp+5Ah] [rbp-67h] __int16 v87; // [rsp+68h] [rbp-59h] BYREF char v88; // [rsp+6Ah] [rbp-57h] void *Block[2]; // [rsp+70h] [rbp-51h] BYREF __int128 v90; // [rsp+80h] [rbp-41h] v6 = 56LL * a2; v7 = *(_QWORD *)(a1 + 328); v8 = *(float *)(v6 + v7 + 4) - 8.0; v87 = -14081; v88 = 120; v82 = -29536; v83 = 120; v9 = *(float *)(a1 + 32); v10 = v9 * 0.5; v11 = *(_DWORD *)(v6 + v7); if ( !v11 ) { v75 = v6 + v7 + 24; if ( *(_QWORD *)(v75 + 24) > 0xFu ) v75 = *(_QWORD *)v75; v41 = cocos2d::CCLabelBMFont::create((const char *)v75, "goldFont.fnt"); v76 = *(_QWORD *)v41; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v76 + 288))(v41, v77); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v41 + 160LL))(v41); v45 = 10.0; goto LABEL_52; } v12 = v11 - 1; if ( !v12 ) { v72 = v6 + v7 + 24; if ( *(_QWORD *)(v72 + 24) > 0xFu ) v72 = *(_QWORD *)v72; v41 = cocos2d::CCLabelBMFont::create((const char *)v72, "goldFont.fnt"); v73 = *(_QWORD *)v41; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v73 + 288))(v41, v74); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v41 + 160LL))(v41); (**((void (__fastcall ***)(__int64, __int16 *))v41 + 46))((__int64)v41 + 368, &v82); v45 = (float)*(int *)(v6 + v7 + 8); goto LABEL_52; } v13 = v12 - 1; if ( v13 ) { v14 = v13 - 1; if ( v14 ) { if ( v14 == 1 ) { v80 = -26986; v81 = -106; DeathTrackerPopup::addRow(1, a3, v6 + v7 + 24, a4, (__int64)&v80, 1058642330); } return; } sub_140104240(a3, v9, v8, *(_DWORD *)(v6 + v7 + 20)); v15 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, *(unsigned int *)(v6 + v7 + 8)); CString = cocos2d::CCString::getCString(v15); *(_OWORD *)Block = 0; v90 = 0; v17 = -1; v18 = -1; do ++v18; while ( CString[v18] ); sub_14003D230(Block, CString, v18); v80 = v82; v81 = v83; v19 = Block; if ( *((_QWORD *)&v90 + 1) > 0xFu ) v19 = (void **)Block[0]; v20 = cocos2d::CCLabelBMFont::create((const char *)v19, "chatFont.fnt"); v21 = *(_QWORD *)v20; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v21 + 288))(v20, v22); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v20 + 160LL))(v20); (**((void (__fastcall ***)(__int64, __int16 *))v20 + 46))((__int64)v20 + 368, &v80); v23 = *(_QWORD *)v20; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 34.0, v8); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v23 + 184))(v20, v24); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)a3 + 464LL))(a3, v20); if ( *((_QWORD *)&v90 + 1) > 0xFu ) { v25 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v90 + 1) + 1LL) >= 0x1000 ) { v25 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v25 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v25); } v26 = cocos2d::CCString::createWithFormat("%i%%", *(_DWORD *)(v6 + v7 + 12)); v27 = cocos2d::CCString::getCString(v26); *(_OWORD *)Block = 0; v90 = 0; do ++v17; while ( v27[v17] ); sub_14003D230(Block, v27, v17); v80 = v82; v81 = v83; v28 = Block; if ( *((_QWORD *)&v90 + 1) > 0xFu ) v28 = (void **)Block[0]; v29 = cocos2d::CCLabelBMFont::create((const char *)v28, (const char *)&qword_140704F78); v30 = *(_QWORD *)v29; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v30 + 288))(v29, v31); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v29 + 160LL))(v29); (**((void (__fastcall ***)(__int64, __int16 *))v29 + 46))((__int64)v29 + 368, &v80); v32 = *(_QWORD *)v29; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, v10 - 12.0, v8); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v32 + 184))(v29, v33); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)a3 + 464LL))(a3, v29); if ( *((_QWORD *)&v90 + 1) > 0xFu ) { v34 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v90 + 1) + 1LL) >= 0x1000 ) { v34 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v34 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v34); } v35 = cocos2d::CCSprite::createWithSpriteFrameName("edit_rightBtn_001.png"); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v35 + 120LL))(v35); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v35 + 136LL))(v35); (**((void (__fastcall ***)(__int64, __int16 *))v35 + 40))((__int64)v35 + 320, &v87); LOBYTE(v36) = 120; (*(void (__fastcall **)(__int64, __int64))(*((_QWORD *)v35 + 40) + 40LL))((__int64)v35 + 320, v36); v37 = *(_QWORD *)v35; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, v10, v8); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v37 + 184))(v35, v38); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *))(*(_QWORD *)a3 + 464LL))(a3, v35); v39 = cocos2d::CCString::createWithFormat("%i%%", *(_DWORD *)(v6 + v7 + 16)); v40 = cocos2d::CCString::getCString(v39); v41 = cocos2d::CCLabelBMFont::create(v40, (const char *)&qword_140704F78); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v41 + 160LL))(v41); v42 = *(_QWORD *)v41; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v42 + 288))(v41, v43); v44 = sub_140104160(&v85, 1.0 - (float)((float)*(int *)(v6 + v7 + 16) / 100.0)); v80 = *(_WORD *)v44; v81 = v44[2]; (**((void (__fastcall ***)(__int64, __int16 *))v41 + 46))((__int64)v41 + 368, &v80); v45 = v10 + 12.0; LABEL_52: v78 = *(_QWORD *)v41; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, v45, v8); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v78 + 184))(v41, v79); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)a3 + 464LL))(a3, v41); return; } sub_140104240(a3, v9, v8, *(_DWORD *)(v6 + v7 + 20)); v46 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, *(unsigned int *)(v6 + v7 + 8)); v47 = cocos2d::CCString::getCString(v46); *(_OWORD *)Block = 0; v90 = 0; v48 = -1; v49 = -1; do ++v49; while ( v47[v49] ); sub_14003D230(Block, v47, v49); v80 = v82; v81 = v83; v50 = Block; if ( *((_QWORD *)&v90 + 1) > 0xFu ) v50 = (void **)Block[0]; v51 = cocos2d::CCLabelBMFont::create((const char *)v50, "chatFont.fnt"); v52 = *(_QWORD *)v51; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v52 + 288))(v51, v53); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v51 + 160LL))(v51); (**((void (__fastcall ***)(__int64, __int16 *))v51 + 46))((__int64)v51 + 368, &v80); v54 = *(_QWORD *)v51; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 34.0, v8); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v54 + 184))(v51, v55); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)a3 + 464LL))(a3, v51); if ( *((_QWORD *)&v90 + 1) > 0xFu ) { v56 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v90 + 1) + 1LL) >= 0x1000 ) { v56 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v56 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v56); } v57 = cocos2d::CCString::createWithFormat("%i%%", *(_DWORD *)(v6 + v7 + 12)); v58 = cocos2d::CCString::getCString(v57); v59 = cocos2d::CCLabelBMFont::create(v58, (const char *)&qword_140704F78); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v59 + 160LL))(v59); v60 = sub_140104160(&v85, 1.0 - (float)((float)*(int *)(v6 + v7 + 12) / 100.0)); v80 = *(_WORD *)v60; v81 = v60[2]; (**((void (__fastcall ***)(__int64, __int16 *))v59 + 46))((__int64)v59 + 368, &v80); v61 = *(_QWORD *)v59; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, v10, v8); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v61 + 184))(v59, v62); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)a3 + 464LL))(a3, v59); v63 = *(_DWORD *)(v6 + v7 + 16); if ( v63 > 0 ) { if ( v63 == 2 ) { v80 = -1; v81 = -1; } else { v80 = -24396; v81 = -126; } v64 = "Session Best"; if ( v63 == 2 ) v64 = "New Best!"; *(_OWORD *)Block = 0; v90 = 0; do ++v48; while ( v64[v48] ); sub_14003D230(Block, v64, v48); v85 = v80; v86 = v81; v65 = *(float *)(a1 + 32) - 14.0; v66 = Block; if ( *((_QWORD *)&v90 + 1) > 0xFu ) v66 = (void **)Block[0]; v67 = cocos2d::CCLabelBMFont::create((const char *)v66, "goldFont.fnt"); v68 = *(_QWORD *)v67; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v68 + 288))(v67, v69); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v67 + 160LL))(v67); (**((void (__fastcall ***)(__int64, __int16 *))v67 + 46))((__int64)v67 + 368, &v85); v70 = *(_QWORD *)v67; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, v65, v8); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v70 + 184))(v67, v71); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)a3 + 464LL))(a3, v67); sub_14003D310((__int64)Block); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source