//
// sub_1005248B0 from 0x1005248b0 to 0x10052496c (188 bytes)
//
// 1 xrefs:
// > ScrollableContentLayer::create @ 0x100524860
//
// 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
//
bool __fastcall sub_1005248B0(__int64 a1, double *a2)
{
_BOOL8 v4; // x19
double v5; // d0
void *v6; // x0
float v8; // [xsp+8h] [xbp-28h] BYREF
v4 = cocos2d::CCLayer::init((_WORD *)a1);
if ( v4 )
{
v5 = sub_100026450((_QWORD *)(a1 + 424), a2);
(*(void (__fastcall **)(__int64, double *, double))(*(_QWORD *)a1 + 320LL))(a1, a2, v5);
sub_1000262BC(&v8, 0.5, 0.5);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 296LL))(a1, &v8);
v6 = cocos2d::CCNode::create();
*(_QWORD *)(a1 + 416) = v6;
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)a1 + 456LL))(a1, v6);
ScrollableContentLayer::applyContentPosition(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1104LL))(a1, 1);
}
return v4;
}