//
// PagedListPopup::createScrollView from 0xc39db4 to 0xc39e9c (232 bytes)
//
// 3 xrefs:
// > FriendsProfilePage::init @ 0xa50f64
// > PagedListPopup::createScrollArea @ 0xc3a004
// > ??> @ 0x6c7a8
//
// 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::createScrollView(__int64 a1, __int64 a2, float a3, float a4)
{
__int64 v5; // x22
float v6; // s4
void (__fastcall *v7)(__int64, _BYTE *); // x23
ScrollableContentLayer *v8; // x22
_BYTE v10[8]; // [xsp+40h] [xbp+40h] BYREF
*(float *)(a1 + 704) = a3;
*(float *)(a1 + 708) = a4;
cocos2d::CCPoint::operator=(a1 + 712, a2);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v10, *(float *)(a1 + 704), *(float *)(a1 + 708));
v5 = ScrollableContentLayer::create((const cocos2d::CCSize *)v10);
v6 = *(float *)(a1 + 704);
*(_QWORD *)(a1 + 688) = v5;
v7 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v5 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v10,
*(float *)(a1 + 712) - (float)(v6 * 0.5),
*(float *)(a1 + 716) - (float)(*(float *)(a1 + 708) * 0.5));
v7(v5, v10);
v8 = *(ScrollableContentLayer **)(a1 + 688);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 2.0, 0.0);
ScrollableContentLayer::setThumbOffset(v8, (__int64)v10);
ScrollableContentLayer::setForwardedTouchesOnly(*(_QWORD *)(a1 + 688), 1);
return _stack_chk_guard;
}