//
// PagedListPopup::createScrollView from 0x72eaa8 to 0x72eb50 (168 bytes)
//
// 2 xrefs:
// > FriendsProfilePage::init @ 0x5f4452
// > PagedListPopup::createScrollArea @ 0x72ec5e
//
// 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::createScrollView(int a1, int a2, int a3, int a4)
{
int v5; // r1
int v6; // r2
int v7; // r3
int *v8; // r0
float v9; // s14
float v10; // s13
float v11; // s11
int *v12; // r7
void (__fastcall *v13)(int *, _DWORD *); // r8
ScrollableContentLayer *v14; // r7
_DWORD v16[3]; // [sp+4h] [bp-Ch] BYREF
v16[0] = a2;
v16[1] = a3;
v16[2] = a4;
*(_DWORD *)(a1 + 552) = a2;
*(_DWORD *)(a1 + 556) = a3;
cocos2d::CCPoint::operator=(a1 + 560, a4);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v16, *(float *)(a1 + 552), *(float *)(a1 + 556));
v8 = ScrollableContentLayer::create((const cocos2d::CCSize *)v16, v5, v6, v7);
v9 = *(float *)(a1 + 556);
v10 = *(float *)(a1 + 564);
v11 = *(float *)(a1 + 560) - (float)(*(float *)(a1 + 552) * 0.5);
*(_DWORD *)(a1 + 544) = v8;
v12 = v8;
v13 = *(void (__fastcall **)(int *, _DWORD *))(*v8 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, v11, v10 - (float)(v9 * 0.5));
v13(v12, v16);
v14 = *(ScrollableContentLayer **)(a1 + 544);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, 2.0, 0.0);
ScrollableContentLayer::setThumbOffset(v14, (int)v16);
return ScrollableContentLayer::setForwardedTouchesOnly(*(_DWORD *)(a1 + 544), 1);
}