//
// SecretGame01Layer::create from 0xa96d4c to 0xa96e28 (220 bytes)
//
// 2 xrefs:
// > SecretLayer6::init @ 0xa9708c
// > ??> @ 0xb82a8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
SecretGame01Layer *SecretGame01Layer::create()
{
__int64 v0; // x19
v0 = operator new(0x1D0u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v0);
*(_QWORD *)(v0 + 408) = 0;
*(_QWORD *)v0 = &off_11F3F20;
*(_QWORD *)(v0 + 320) = off_11F43A0;
*(_QWORD *)(v0 + 328) = &off_11F4410;
*(_QWORD *)(v0 + 336) = off_11F4428;
*(_QWORD *)(v0 + 344) = &off_11F4448;
*(_QWORD *)(v0 + 352) = off_11F4468;
*(_QWORD *)(v0 + 416) = 0;
*(_QWORD *)(v0 + 424) = 0;
*(_DWORD *)(v0 + 432) = 0;
*(_DWORD *)(v0 + 436) = 0;
*(_BYTE *)(v0 + 440) = 0;
*(_QWORD *)(v0 + 456) = 0;
*(_DWORD *)(v0 + 444) = 0;
*(_DWORD *)(v0 + 448) = 0;
if ( SecretGame01Layer::init((SecretGame01Layer *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
return (SecretGame01Layer *)v0;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
}