//
// SecretLayer3::create from 0x61ad00 to 0x61ad8c (140 bytes)
//
// 1 xrefs:
// > SecretLayer3::scene @ 0x61ad9e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:59 +0000
//
cocos2d::CCLayer *__fastcall SecretLayer3::create(SecretLayer3 *this)
{
cocos2d::CCLayer *v1; // r4
int v2; // r3
int *v3; // r0
v1 = (cocos2d::CCLayer *)operator new(0x158u);
cocos2d::CCLayer::CCLayer(v1);
*(_DWORD *)v1 = &off_CC6EC0;
*((_DWORD *)v1 + 66) = &off_CC710C;
*((_DWORD *)v1 + 67) = &off_CC7144;
*((_DWORD *)v1 + 68) = &off_CC7150;
*((_DWORD *)v1 + 69) = &off_CC7160;
*((_DWORD *)v1 + 70) = &off_CC7174;
*((_DWORD *)v1 + 79) = &off_CC718C;
*((_BYTE *)v1 + 324) = 0;
*((_DWORD *)v1 + 82) = 0;
*((_DWORD *)v1 + 83) = 0;
*((_DWORD *)v1 + 84) = 0;
*((_DWORD *)v1 + 85) = 0;
if ( SecretLayer3::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
v2 = *(_DWORD *)v1;
v3 = (int *)v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v2 + 8))(v3);
}
return v1;
}