//
// ScrollableContentLayer::create from 0x100524828 to 0x10052489c (116 bytes)
//
// 16 xrefs:
// > KeybindingsLayer::init @ 0x100023774
// > SetGroupIDLayer::init @ 0x10003f4e4
// > sub_1001FB794 @ 0x1001fb7f4
// > sub_1004AC310 @ 0x1004ac3d0
// > DeathTrackerPopup::init @ 0x1004ba594
// > sub_1004C2E30 @ 0x1004c313c
// > EditorSFXActionConfigLayer::init @ 0x1004c60dc
// > sub_1004CF9C0 @ 0x1004d0678
// > EditorSoundsLayer::init @ 0x1004d71a0
// > EditorWindowPopup::initWindow @ 0x1004d954c
// > sub_1004DF904 @ 0x1004e00a4
// > ThreadViewPopup::init @ 0x1004f87bc
// > NewsPopup::init @ 0x10051806c
// > sub_10051AF10 @ 0x10051af48
// > sub_100526DA8 @ 0x100527100
// > sub_100527F18 @ 0x1005286e8
//
// 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 11:07:14 +0000
//
void *__fastcall ScrollableContentLayer::create(double *a1)
{
void *v2; // x19
double v3; // d0
__int64 v5; // [xsp+8h] [xbp-18h] BYREF
v2 = operator new(0x2A8u);
sub_100526A8C();
v3 = sub_100026438(&v5, a1);
if ( (unsigned int)sub_1005248B0(v2, &v5, v3) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}