//
// SecretLayer2::create from 0x93f6c0 to 0x93f7c8 (264 bytes)
//
// 2 xrefs:
// > SecretLayer2::scene @ 0x93f7e4
// > ??> @ 0x882d8
//
// 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
//
SecretLayer2 *SecretLayer2::create()
{
__int64 v0; // x19
v0 = operator new(0x208u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v0);
*(_DWORD *)(v0 + 432) = -1;
*(_QWORD *)v0 = &off_11B29D0;
*(_QWORD *)(v0 + 320) = off_11B2E78;
*(_QWORD *)(v0 + 328) = &off_11B2EE8;
*(_QWORD *)(v0 + 336) = &off_11B2F00;
*(_QWORD *)(v0 + 344) = &off_11B2F20;
*(_QWORD *)(v0 + 352) = off_11B2F40;
*(_QWORD *)(v0 + 408) = off_11B2F68;
*(_QWORD *)(v0 + 416) = &off_11B2FB0;
*(_QWORD *)(v0 + 424) = &off_11B2FC8;
*(_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;
*(_DWORD *)(v0 + 492) = -1;
*(_QWORD *)(v0 + 496) = 0;
*(_QWORD *)(v0 + 504) = 0;
*(_QWORD *)(v0 + 512) = 0;
if ( SecretLayer2::init((SecretLayer2 *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
return (SecretLayer2 *)v0;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
}