// // IDNameBrowserPopup::mountVirtualRow from 0x78ee28 to 0x78f1fa (978 bytes) // // 1 xrefs: // > `non-virtual thunk to'IDNameBrowserPopup::mountVirtualRow @ 0x78f200 // // 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:59:40 +0000 // int __fastcall IDNameBrowserPopup::mountVirtualRow( IDNameBrowserPopup *this, int a2, cocos2d::CCNode *a3, cocos2d::CCMenu *a4) { float v8; // s16 int v9; // r8 float v10; // s17 int v11; // r6 int v12; // r1 void (__fastcall *v13)(int, _DWORD *); // r2 void (__fastcall *v14)(int, _DWORD *); // r11 const char *v15; // r2 cocos2d::CCLabelBMFont *v16; // r11 void (__fastcall *v17)(cocos2d::CCLabelBMFont *, _DWORD *); // r2 const char *v18; // r2 cocos2d::CCLabelBMFont *v19; // r0 cocos2d::CCLabelBMFont *v20; // r6 void (__fastcall *v21)(cocos2d::CCLabelBMFont *, _DWORD *); // r3 _DWORD *v22; // r0 _DWORD *v23; // r6 void (__fastcall *v24)(_DWORD *, _DWORD *); // r11 void (__fastcall *v25)(_DWORD *, _DWORD *); // r11 const char *v26; // r1 int v27; // r6 int v28; // r9 void (__fastcall *v29)(int, _DWORD *); // r11 const char *v30; // r1 const char *v31; // r1 int v32; // r4 void (__fastcall *v33)(int, _DWORD); // r9 float v34; // s16 float v35; // s16 float v36; // r0 int v37; // r4 void (__fastcall *v38)(int, _BYTE *); // r7 void (__fastcall *v40)(int, _DWORD *); // [sp+8h] [bp-54h] void (__fastcall *v41)(cocos2d::CCLabelBMFont *, _DWORD *); // [sp+8h] [bp-54h] void (__fastcall *v42)(cocos2d::CCLabelBMFont *, _DWORD *); // [sp+8h] [bp-54h] int v43; // [sp+Ch] [bp-50h] float v44[2]; // [sp+14h] [bp-48h] BYREF _BYTE v45[8]; // [sp+1Ch] [bp-40h] BYREF _DWORD (*v46)(IDNameBrowserPopup *__hidden, cocos2d::CCObject *); // [sp+24h] [bp-38h] int v47; // [sp+28h] [bp-34h] _DWORD (*v48)(IDNameBrowserPopup *__hidden, cocos2d::CCObject *); // [sp+2Ch] [bp-30h] int v49; // [sp+30h] [bp-2Ch] _DWORD v50[4]; // [sp+34h] [bp-28h] BYREF _BYTE v51[16]; // [sp+44h] [bp-18h] BYREF cocos2d::CCSize::CCSize((cocos2d::CCSize *)v44, (const cocos2d::CCSize *)(*((_DWORD *)this + 135) + 324)); v8 = v44[0]; v9 = *(_DWORD *)(*((_DWORD *)this + 143) + 16 * a2); v43 = *((_DWORD *)this + 143) + 16 * a2; cocos2d::CCRect::CCRect((cocos2d::CCRect *)v50, 0.0, 0.0, 40.0, 40.0); v10 = v8 - 20.0; v11 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v50); v40 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v11 + 160); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v50, (float)(v8 - 10.0) + (float)(v8 - 10.0), 44.0); v40(v11, v50); (*(void (__fastcall **)(int, float))(*(_DWORD *)v11 + 80))(v11, 0.5); if ( (a2 & 1) != 0 ) v12 = 40; else v12 = 70; (*(void (__fastcall **)(int, int))(*(_DWORD *)v11 + 456))(v11, v12); v13 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v11 + 480); LOWORD(v50[0]) = 0; BYTE2(v50[0]) = 0; v13(v11, v50); v14 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v11 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v50, v8 * 0.5, 12.0); v14(v11, v50); (*(void (__fastcall **)(cocos2d::CCNode *, int, _DWORD))(*(_DWORD *)a3 + 232))(a3, v11, 0); sub_993B88(v51, 16, "%d:", v9); v16 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)v51, "bigFont.fnt", v15); cocos2d::CCLabelBMFont::limitLabelWidth(v16, 34.0, 0.45, 0.0); v17 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _DWORD *))(*(_DWORD *)v16 + 536); LOWORD(v50[0]) = -1; BYTE2(v50[0]) = -1; v17(v16, v50); v41 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _DWORD *))(*(_DWORD *)v16 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v50, 1.0, 0.5); v41(v16, v50); v42 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _DWORD *))(*(_DWORD *)v16 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v50, 46.0, 12.0); v42(v16, v50); (*(void (__fastcall **)(cocos2d::CCNode *, cocos2d::CCLabelBMFont *, int))(*(_DWORD *)a3 + 232))(a3, v16, 1); if ( (*(_BYTE *)(v43 + 4) & 1) != 0 ) v19 = *(cocos2d::CCLabelBMFont **)(v43 + 12); else v19 = (cocos2d::CCLabelBMFont *)(v43 + 5); v20 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v19, "bigFont.fnt", v18); v21 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _DWORD *))(*(_DWORD *)v20 + 536); LOWORD(v50[0]) = -14211; BYTE2(v50[0]) = -1; v21(v20, v50); cocos2d::CCLabelBMFont::limitLabelWidth(v20, (float)((float)(v10 - 24.0) - 54.0) - 12.0, 0.45, 0.15); v46 = IDNameBrowserPopup::onEditRow; v47 = 0; v22 = (_DWORD *)CCMenuItemSpriteExtra::create((int)v20, 0, (int)this, (int)IDNameBrowserPopup::onEditRow, 0); v22[78] = 1066024305; v23 = v22; (*(void (__fastcall **)(_DWORD *, int))(*v22 + 36))(v22, v9); v24 = *(void (__fastcall **)(_DWORD *, _DWORD *))(*v23 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v50, 0.0, 0.5); v24(v23, v50); v25 = *(void (__fastcall **)(_DWORD *, _DWORD *))(*v23 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v50, 54.0, 12.0); v25(v23, v50); (*(void (__fastcall **)(cocos2d::CCMenu *, _DWORD *, int))(*(_DWORD *)a4 + 232))(a4, v23, 1); v27 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_selectSongBtn_001.png", v26); (*(void (__fastcall **)(int, int))(*(_DWORD *)v27 + 80))(v27, 1055286886); v48 = IDNameBrowserPopup::onSelectRow; v49 = 0; v28 = CCMenuItemSpriteExtra::create(v27, 0, (int)this, (int)IDNameBrowserPopup::onSelectRow, 0); (*(void (__fastcall **)(int, int))(*(_DWORD *)v28 + 36))(v28, v9); CCMenuItemSpriteExtra::setSizeMult(v28, 1.3); v29 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v28 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v50, v10 - 24.0, 12.0); v29(v28, v50); (*(void (__fastcall **)(cocos2d::CCMenu *, int))(*(_DWORD *)a4 + 228))(a4, v28); v32 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_deleteBtn_001.png", v30); if ( !v32 ) v32 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_trashBtn_001.png", v31); v33 = *(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v32 + 80); v34 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v27 + 164))(v27); v35 = v34 / *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v32 + 164))(v32); v36 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)v27 + 84))(v27)); v33(v32, v35 * v36); v50[0] = IDNameBrowserPopup::onDeleteRow; v50[1] = 0; v37 = CCMenuItemSpriteExtra::create(v32, 0, (int)this, (int)IDNameBrowserPopup::onDeleteRow, 0); (*(void (__fastcall **)(int, int))(*(_DWORD *)v37 + 36))(v37, v9); CCMenuItemSpriteExtra::setSizeMult(v37, 1.3); v38 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v37 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v45, v10, 12.0); v38(v37, v45); return (*(int (__fastcall **)(cocos2d::CCMenu *, int))(*(_DWORD *)a4 + 228))(a4, v37); }
GD Web Decomp Icon

GD Web Decomp

Raw Source