//
// SecretLayer4::create from 0x94b4e4 to 0x94b5dc (248 bytes)
//
// 2 xrefs:
// > SecretLayer4::scene @ 0x94b5f8
// > ??> @ 0xba9d8
//
// 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
//
SecretLayer4 *SecretLayer4::create()
{
__int64 v0; // x19
v0 = operator new(0x1F0u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v0);
*(_DWORD *)(v0 + 432) = -1;
*(_QWORD *)v0 = &off_11B3EC0;
*(_QWORD *)(v0 + 320) = off_11B4368;
*(_QWORD *)(v0 + 328) = &off_11B43D8;
*(_QWORD *)(v0 + 336) = &off_11B43F0;
*(_QWORD *)(v0 + 344) = &off_11B4410;
*(_QWORD *)(v0 + 352) = off_11B4430;
*(_QWORD *)(v0 + 408) = off_11B4458;
*(_QWORD *)(v0 + 416) = &off_11B44A0;
*(_QWORD *)(v0 + 424) = &off_11B44B8;
*(_QWORD *)(v0 + 436) = 0xFFFFFFFFLL;
*(_DWORD *)(v0 + 444) = 0;
*(_DWORD *)(v0 + 448) = 0;
*(_DWORD *)(v0 + 452) = -1;
*(_QWORD *)(v0 + 456) = 0;
*(_QWORD *)(v0 + 464) = 0;
*(_QWORD *)(v0 + 480) = 0;
*(_BYTE *)(v0 + 488) = 0;
if ( SecretLayer4::init((SecretLayer4 *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
return (SecretLayer4 *)v0;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
}