// // IDNameBrowserPopup::mountVirtualRow from 0xcdd164 to 0xcdd674 (1296 bytes) // // 3 xrefs: // > `non-virtual thunk to'IDNameBrowserPopup::mountVirtualRow @ 0xcdd69c // > @ 0x595d8 // > @ 0x1502d00 // // This function is hookable on this platform (idp: arm, 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 13:06:34 +0000 // __int64 __fastcall IDNameBrowserPopup::mountVirtualRow( IDNameBrowserPopup *this, int a2, cocos2d::CCNode *a3, cocos2d::CCMenu *a4) { float v8; // s8 float v9; // s9 __int64 v10; // x27 unsigned int v11; // w25 float v12; // s10 __int64 v13; // x20 __int64 v14; // x1 void (__fastcall *v15)(__int64, char *); // x2 void (__fastcall *v16)(__int64, char *); // x26 const char *v17; // x2 cocos2d::CCLabelBMFont *v18; // x20 void (__fastcall *v19)(cocos2d::CCLabelBMFont *, char *); // x3 void (__fastcall *v20)(cocos2d::CCLabelBMFont *, char *); // x26 void (__fastcall *v21)(cocos2d::CCLabelBMFont *, char *); // x26 const char *v22; // x2 cocos2d::CCLabelBMFont *v23; // x0 cocos2d::CCLabelBMFont *v24; // x20 void (__fastcall *v25)(cocos2d::CCLabelBMFont *, char *); // x2 __int64 v26; // x0 __int64 v27; // x2 __int64 v28; // x20 void (__fastcall *v29)(__int64, char *); // x22 void (__fastcall *v30)(__int64, char *); // x22 const char *v31; // x1 __int64 v32; // x22 __int64 v33; // x20 void (__fastcall *v34)(__int64, char *); // x26 const char *v35; // x1 const char *v36; // x1 __int64 v37; // x20 void (__fastcall *v38)(__int64, float); // x26 float v39; // s8 float v40; // s8 float v41; // s0 __int64 v42; // x20 void (__fastcall *v43)(__int64, char *); // x22 void (__fastcall *v45)(__int64, char *); // [xsp+98h] [xbp+98h] float v46; // [xsp+A0h] [xbp+A0h] BYREF char v47; // [xsp+A8h] [xbp+A8h] BYREF char v48; // [xsp+A9h] [xbp+A9h] char v49; // [xsp+AAh] [xbp+AAh] char v50[16]; // [xsp+B8h] [xbp+B8h] BYREF cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v46, (const cocos2d::CCSize *)(*((_QWORD *)this + 87) + 424LL)); v8 = v46; v9 = v46 - 20.0; v10 = *((_QWORD *)this + 95) + 32LL * a2; v11 = *(_DWORD *)v10; v12 = (float)(v46 - 20.0) - 24.0; cocos2d::CCRect::CCRect((cocos2d::CCRect *)&v47, 0.0, 0.0, 40.0, 40.0); v13 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", &v47); v45 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v13 + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v47, (float)(v8 - 10.0) + (float)(v8 - 10.0), 44.0); v45(v13, &v47); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v13 + 160LL))(v13, 0.5); if ( (a2 & 1) != 0 ) v14 = 40; else v14 = 70; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v13 + 912LL))(v13, v14); v15 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v13 + 960LL); v47 = 0; v48 = 0; v49 = 0; v15(v13, &v47); v16 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v13 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v47, v8 * 0.5, 12.0); v16(v13, &v47); (*(void (__fastcall **)(cocos2d::CCNode *, __int64, _QWORD))(*(_QWORD *)a3 + 464LL))(a3, v13, 0); snprintf(v50, 0x10u, "%d:", v11); v18 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)v50, "bigFont.fnt", v17); cocos2d::CCLabelBMFont::limitLabelWidth(v18, 34.0, 0.45, 0.0); v19 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_QWORD *)v18 + 1072LL); v47 = -1; v48 = -1; v49 = -1; v19(v18, &v47); v20 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_QWORD *)v18 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v47, 1.0, 0.5); v20(v18, &v47); v21 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_QWORD *)v18 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v47, 46.0, 12.0); v21(v18, &v47); (*(void (__fastcall **)(cocos2d::CCNode *, cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)a3 + 464LL))(a3, v18, 1); v23 = (cocos2d::CCLabelBMFont *)(v10 + 9); if ( (*(_BYTE *)(v10 + 8) & 1) != 0 ) v23 = *(cocos2d::CCLabelBMFont **)(v10 + 24); v24 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v23, "bigFont.fnt", v22); v25 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_QWORD *)v24 + 1072LL); v47 = 125; v48 = -56; v49 = -1; v25(v24, &v47); cocos2d::CCLabelBMFont::limitLabelWidth(v24, (float)(v12 - 54.0) - 12.0, 0.45, 0.15); v26 = CCMenuItemSpriteExtra::create((__int64)v24, 0, (__int64)this, (__int64)IDNameBrowserPopup::onEditRow, 0); v27 = *(_QWORD *)v26; v28 = v26; *(_DWORD *)(v26 + 400) = 1066024305; (*(void (__fastcall **)(__int64, _QWORD))(v27 + 72))(v26, v11); v29 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v28 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v47, 0.0, 0.5); v29(v28, &v47); v30 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v28 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v47, 54.0, 12.0); v30(v28, &v47); (*(void (__fastcall **)(cocos2d::CCMenu *, __int64, __int64))(*(_QWORD *)a4 + 464LL))(a4, v28, 1); v32 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_selectSongBtn_001.png", v31); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v32 + 160LL))(v32, 0.45); v33 = CCMenuItemSpriteExtra::create(v32, 0, (__int64)this, (__int64)IDNameBrowserPopup::onSelectRow, 0); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v33 + 72LL))(v33, v11); CCMenuItemSpriteExtra::setSizeMult(v33, 1.3); v34 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v33 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v47, v12, 12.0); v34(v33, &v47); (*(void (__fastcall **)(cocos2d::CCMenu *, __int64))(*(_QWORD *)a4 + 456LL))(a4, v33); v37 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_deleteBtn_001.png", v35); if ( !v37 ) v37 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_trashBtn_001.png", v36); v38 = *(void (__fastcall **)(__int64, float))(*(_QWORD *)v37 + 160LL); v39 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v32 + 328LL))(v32); v40 = v39 / *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v37 + 328LL))(v37); v41 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v32 + 168LL))(v32); v38(v37, v40 * v41); v42 = CCMenuItemSpriteExtra::create(v37, 0, (__int64)this, (__int64)IDNameBrowserPopup::onDeleteRow, 0); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v42 + 72LL))(v42, v11); CCMenuItemSpriteExtra::setSizeMult(v42, 1.3); v43 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v42 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v47, v9, 12.0); v43(v42, &v47); (*(void (__fastcall **)(cocos2d::CCMenu *, __int64))(*(_QWORD *)a4 + 456LL))(a4, v42); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source