//
// PagedListPopup::createScrollArea from 0x72eb54 to 0x72ece6 (402 bytes)
//
// 6 xrefs:
// > AccountReviewPopup::init @ 0x7357f2
// > ReportQueuePopup::init @ 0x73b2a2
// > AutoBackupPopup::init @ 0x742154
// > FriendPickerPopup::init @ 0x749e6c
// > MemberListPopup::init @ 0x74aeba
// > InvitesPopup::init @ 0x74c15c
//
// 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:58:18 +0000
//
int __fastcall PagedListPopup::createScrollArea(PagedListPopup *this, float a2, float a3)
{
const cocos2d::CCPoint *v4; // r8
float v5; // s15
float v6; // s13
float v7; // s14
float v8; // s15
int v9; // r6
void (__fastcall *v10)(int, _BYTE *); // r2
void (__fastcall *v11)(int, _BYTE *); // r9
int v12; // r6
int v13; // r9
int v14; // r6
void (__fastcall *v15)(int, _BYTE *); // r8
int v16; // r6
int (__fastcall *v17)(int, _BYTE *); // r8
_BYTE v19[16]; // [sp+Ch] [bp-18h] BYREF
v4 = (PagedListPopup *)((char *)this + 560);
v5 = *((float *)this + 131);
v6 = *((float *)this + 133) * 0.5;
v7 = (float)(v5 + v6) - a2;
v8 = (float)(v5 - v6) + a3;
*((float *)this + 138) = *((float *)this + 132) - 30.0;
*((float *)this + 139) = v7 - v8;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, *((float *)this + 130), (float)(v7 + v8) * 0.5);
cocos2d::CCPoint::operator=(v4, v19);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v19, 0.0, 0.0, 40.0, 40.0);
v9 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v19);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v9 + 456))(v9, 80);
v10 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v9 + 480);
v19[0] = 0;
v19[1] = 0;
v19[2] = 0;
v10(v9, v19);
v11 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v9 + 160);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v19, *((float *)this + 138), *((float *)this + 139));
v11(v9, v19);
(*(void (__fastcall **)(int, const cocos2d::CCPoint *))(*(_DWORD *)v9 + 92))(v9, v4);
(*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 115) + 232))(*((_DWORD *)this + 115), v9, -1);
v12 = *((_DWORD *)this + 139);
v13 = *((_DWORD *)this + 138);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, v4);
PagedListPopup::createScrollView((int)this, v13, v12, (int)v19);
(*(void (__fastcall **)(_DWORD, _DWORD, int))(**((_DWORD **)this + 115) + 232))(
*((_DWORD *)this + 115),
*((_DWORD *)this + 136),
1);
v14 = *((_DWORD *)this + 142);
v15 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v14 + 92);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v19,
(float)(*((float *)this + 130) - (float)(*((float *)this + 132) * 0.5)) - 24.0,
*((float *)this + 141));
v15(v14, v19);
v16 = *((_DWORD *)this + 143);
v17 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v16 + 92);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v19,
(float)(*((float *)this + 130) + (float)(*((float *)this + 132) * 0.5)) + 24.0,
*((float *)this + 141));
return v17(v16, v19);
}