//
// PagedListPopup::createScrollArea from 0xc39e9c to 0xc3a0b8 (540 bytes)
//
// 8 xrefs:
// > AccountReviewPopup::init @ 0xc44dc0
// > ReportQueuePopup::init @ 0xc4fff0
// > AutoBackupPopup::init @ 0xc5d278
// > FriendPickerPopup::init @ 0xc69440
// > FriendPickerPopup::init @ 0xc697a0
// > MemberListPopup::init @ 0xc6ad38
// > InvitesPopup::init @ 0xc6c644
// > ??> @ 0x77b90
//
// 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:04:53 +0000
//
__int64 __fastcall PagedListPopup::createScrollArea(PagedListPopup *this, float a2, float a3)
{
float v3; // s5
float v5; // s2
const cocos2d::CCPoint *v6; // x22
float v7; // s3
float v8; // s2
float v9; // s0
__int64 v10; // x21
void (__fastcall *v11)(__int64, _BYTE *); // x2
void (__fastcall *v12)(__int64, _BYTE *); // x24
__int64 v13; // x21
void (__fastcall *v14)(__int64, _BYTE *); // x22
__int64 v15; // x21
float v16; // s0
float v17; // s1
void (__fastcall *v18)(__int64, _BYTE *); // x19
float v20; // [xsp+50h] [xbp+50h]
float v21; // [xsp+60h] [xbp+60h]
_BYTE v22[16]; // [xsp+78h] [xbp+78h] BYREF
v3 = *((float *)this + 166);
v5 = *((float *)this + 168);
v6 = (PagedListPopup *)((char *)this + 712);
v7 = (float)(v3 + (float)(v5 * 0.5)) - a2;
v8 = (float)(v3 - (float)(v5 * 0.5)) + a3;
v9 = *((float *)this + 165);
*((float *)this + 176) = *((float *)this + 167) - 30.0;
*((float *)this + 177) = v7 - v8;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v22, v9, (float)(v7 + v8) * 0.5);
cocos2d::CCPoint::operator=(v6, v22);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v22, 0.0, 0.0, 40.0, 40.0);
v10 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v22);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v10 + 912LL))(v10, 80);
v11 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v10 + 960LL);
v22[0] = 0;
v22[1] = 0;
v22[2] = 0;
v11(v10, v22);
v12 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v10 + 320LL);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v22, *((float *)this + 176), *((float *)this + 177));
v12(v10, v22);
(*(void (__fastcall **)(__int64, const cocos2d::CCPoint *))(*(_QWORD *)v10 + 184LL))(v10, v6);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v10,
0xFFFFFFFFLL);
v20 = *((float *)this + 176);
v21 = *((float *)this + 177);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v22, v6);
PagedListPopup::createScrollView((__int64)this, (__int64)v22, v20, v21);
(*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
*((_QWORD *)this + 86),
1);
v13 = *((_QWORD *)this + 90);
v14 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v13 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v22,
(float)(*((float *)this + 165) - (float)(*((float *)this + 167) * 0.5)) - 24.0,
*((float *)this + 179));
v14(v13, v22);
v15 = *((_QWORD *)this + 91);
v16 = *((float *)this + 165) + (float)(*((float *)this + 167) * 0.5);
v17 = *((float *)this + 179);
v18 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v15 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v22, v16 + 24.0, v17);
v18(v15, v22);
return _stack_chk_guard;
}