//
// sub_100221C24 from 0x100221c24 to 0x100221ce4 (192 bytes)
//
// 1 xrefs:
// > CCScrollLayerExt::CCScrollLayerExt @ 0x10039d314
//
// 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:01:08 +0000
//
_QWORD *__fastcall sub_100221C24(__int32 *a1, float a2, float a3)
{
_QWORD *v6; // x19
v6 = operator new(0x220u);
bzero(v6, 0x220u);
cocos2d::CCLayerColor::CCLayerColor((__int64)v6);
*v6 = &off_1008FCE60;
v6[40] = off_1008FD388;
v6[41] = &off_1008FD3F8;
v6[42] = off_1008FD410;
v6[43] = &off_1008FD430;
v6[44] = off_1008FD458;
v6[51] = off_1008FD488;
v6[54] = off_1008FD508;
if ( (unsigned int)cocos2d::CCLayerColor::initWithColor_1(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((__int64)v6);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v6 + 16LL))(v6);
return nullptr;
}
return v6;
}