//
// sub_1003A9674 from 0x1003a9674 to 0x1003a96f8 (132 bytes)
//
// 1 xrefs:
// > SecretLayer2::onSubmit @ 0x1003a8118
//
// 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:03:50 +0000
//
_QWORD *sub_1003A9674()
{
_QWORD *v0; // x19
v0 = operator new(0x198u);
cocos2d::CCLayer::CCLayer((__int64)v0);
*v0 = &off_100946580;
v0[40] = off_100946A10;
v0[41] = &off_100946A80;
v0[42] = off_100946A98;
v0[43] = &off_100946AB8;
v0[44] = off_100946AE0;
if ( cocos2d::CCLayer::init(v0) )
{
cocos2d::CCObject::autorelease((__int64)v0);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v0 + 16LL))(v0);
return nullptr;
}
return v0;
}