//
// sub_1003037E4 from 0x1003037e4 to 0x100303890 (172 bytes)
//
// 1 xrefs:
// > MenuLayer::scene @ 0x100303774
//
// 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:06 +0000
//
char *sub_1003037E4()
{
char *v0; // x19
v0 = (char *)operator new(0x200u);
cocos2d::CCLayer::CCLayer((__int64)v0);
*(_QWORD *)v0 = off_10092A410;
*((_QWORD *)v0 + 40) = off_10092A8B8;
*((_QWORD *)v0 + 41) = &off_10092A928;
*((_QWORD *)v0 + 42) = off_10092A940;
*((_QWORD *)v0 + 43) = off_10092A960;
*((_QWORD *)v0 + 44) = off_10092A988;
*((_QWORD *)v0 + 51) = &off_10092A9B8;
*((_QWORD *)v0 + 52) = &off_10092A9D0;
*((_QWORD *)v0 + 53) = off_10092A9E8;
v0[432] = 0;
*(_OWORD *)(v0 + 440) = 0u;
*(_OWORD *)(v0 + 456) = 0u;
*(_OWORD *)(v0 + 472) = 0u;
*(_OWORD *)(v0 + 488) = 0u;
if ( (unsigned int)MenuLayer::init(v0) )
{
cocos2d::CCObject::autorelease((__int64)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}