// // sub_140121B80 from 0x140121b80 to 0x140121deb (619 bytes) // // 4 xrefs: // > DropdownListPopup::buildRows @ 0x140121f02 // > DropdownListPopup::buildRows @ 0x1401220e5 // > @ 0x140916664 // > @ 0x140916670 // // 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:56 +0000 // _QWORD *__fastcall sub_140121B80(_QWORD *a1, __int64 a2) { _QWORD *v4; // r14 __int64 v5; // rbx __int64 v6; // rax __int64 v7; // rdx __int64 v8; // rax const char *v9; // rsi float v10; // xmm7_4 float v11; // xmm10_4 float v12; // xmm8_4 const char *v13; // rdx const char *v14; // rcx struct cocos2d::CCLabelBMFont *v15; // rdi __int64 v16; // rbx __int64 v17; // rax __int64 v18; // rbx __int64 v19; // rax float v20; // xmm1_4 const char *v21; // rcx struct cocos2d::CCLabelBMFont *v22; // rdi __int64 v23; // rbx __int64 v24; // rax __int64 v25; // rbx __int64 v26; // rax char v28; // [rsp+80h] [rbp+8h] BYREF v4 = (_QWORD *)cocos2d::CCSprite::create(); v5 = *v4; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v28, *(float *)(a2 + 84) - 10.0, *(float *)(a2 + 88)); (*(void (__fastcall **)(_QWORD *, __int64))(v5 + 312))(v4, v6); LOBYTE(v7) = 1; (*(void (__fastcall **)(_QWORD *, __int64))(v4[40] + 72LL))(v4 + 40, v7); v8 = (*(__int64 (__fastcall **)(_QWORD *))(*v4 + 320LL))(v4); v9 = (const char *)(a2 + 40); v10 = *(float *)(a2 + 84) - 10.0; v11 = 0.0; v12 = *(float *)(v8 + 4) * 0.5; if ( a1[7] ) { v13 = (const char *)(a2 + 40); if ( *(_QWORD *)(a2 + 64) > 0xFu ) v13 = *(const char **)v9; v14 = (const char *)(a1 + 5); if ( a1[8] > 0xFu ) v14 = *(const char **)v14; v15 = cocos2d::CCLabelBMFont::create(v14, v13); (**((void (__fastcall ***)(__int64, __int64))v15 + 46))((__int64)v15 + 368, a2 + 79); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v15 + 160LL))(v15); v16 = *(_QWORD *)v15; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v28, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v16 + 288))(v15, v17); v18 = *(_QWORD *)v15; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v28, 0.0, v12); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v18 + 184))(v15, v19); (*(void (__fastcall **)(_QWORD *, struct cocos2d::CCLabelBMFont *))(*v4 + 464LL))(v4, v15); v20 = (float)(*(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v15 + 320LL))(v15) * *(float *)(a2 + 72)) + 4.0; v11 = v20 + 0.0; v10 = fmaxf(0.0, v10 - v20); } if ( *(_QWORD *)(a2 + 64) > 0xFu ) v9 = *(const char **)v9; v21 = (const char *)(a1 + 1); if ( a1[4] > 0xFu ) v21 = *(const char **)v21; v22 = cocos2d::CCLabelBMFont::create(v21, v9); (**((void (__fastcall ***)(__int64, __int64))v22 + 46))((__int64)v22 + 368, a2 + 76); cocos2d::CCLabelBMFont::limitLabelWidth(v22, v10, *(float *)(a2 + 72), *(float *)(a2 + 72) * 0.2); v23 = *(_QWORD *)v22; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v28, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v23 + 288))(v22, v24); v25 = *(_QWORD *)v22; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v28, v11, v12); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v25 + 184))(v22, v26); (*(void (__fastcall **)(_QWORD *, struct cocos2d::CCLabelBMFont *))(*v4 + 464LL))(v4, v22); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source