//
// SecretLayer::create from 0x1005fa8b0 to 0x1005fa991 (225 bytes)
//
// 0 xrefs:
//
// 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
//
SecretLayer *__fastcall SecretLayer::create()
{
char *v0; // rbx
v0 = (char *)operator new(0x1E8u);
cocos2d::CCLayer::CCLayer((__int64)v0);
*(_QWORD *)v0 = off_10097CDC8;
*((_QWORD *)v0 + 40) = off_10097D268;
*((_QWORD *)v0 + 41) = &off_10097D2D8;
*((_QWORD *)v0 + 42) = off_10097D2F0;
*((_QWORD *)v0 + 43) = off_10097D310;
*((_QWORD *)v0 + 44) = off_10097D330;
*((_QWORD *)v0 + 51) = off_10097D358;
*((_QWORD *)v0 + 52) = &off_10097D3A0;
*((_DWORD *)v0 + 106) = -1;
*((_QWORD *)v0 + 59) = 0;
*(_OWORD *)(v0 + 428) = 0;
*((_OWORD *)v0 + 28) = 0;
*((_DWORD *)v0 + 120) = -1;
if ( SecretLayer::init((SecretLayer *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (SecretLayer *)v0;
}