//
// SecretLayer5::create from 0x6e28b4 to 0x6e2998 (228 bytes)
//
// 1 xrefs:
// > SecretLayer5::scene @ 0x6e29aa
//
// 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:57:22 +0000
//
cocos2d::CCLayer *__fastcall SecretLayer5::create(SecretLayer5 *this)
{
cocos2d::CCLayer *v1; // r4
int v2; // r3
int *v3; // r0
v1 = (cocos2d::CCLayer *)operator new(0x1C4u);
cocos2d::CCLayer::CCLayer(v1);
*(_DWORD *)v1 = &off_CE9A58;
*((_DWORD *)v1 + 66) = &off_CE9CBC;
*((_DWORD *)v1 + 67) = &off_CE9CF4;
*((_DWORD *)v1 + 68) = &off_CE9D00;
*((_DWORD *)v1 + 69) = &off_CE9D10;
*((_DWORD *)v1 + 70) = &off_CE9D24;
*((_DWORD *)v1 + 79) = &off_CE9D3C;
*((_DWORD *)v1 + 80) = &off_CE9D60;
*((_DWORD *)v1 + 81) = &off_CE9D6C;
*((_DWORD *)v1 + 82) = &off_CE9D78;
*((_DWORD *)v1 + 83) = -1;
*((_DWORD *)v1 + 84) = -1;
*((_DWORD *)v1 + 85) = 0;
*((_DWORD *)v1 + 86) = 0;
*((_DWORD *)v1 + 87) = 0;
*((_DWORD *)v1 + 88) = -1;
*((_DWORD *)v1 + 89) = 0;
*((_DWORD *)v1 + 90) = 0;
*((_BYTE *)v1 + 368) = 0;
*((_DWORD *)v1 + 94) = 0;
*((_BYTE *)v1 + 380) = 0;
*((_DWORD *)v1 + 96) = 0;
*((_DWORD *)v1 + 97) = 0;
*((_DWORD *)v1 + 98) = 0;
*((_DWORD *)v1 + 99) = 0;
*((_BYTE *)v1 + 400) = 0;
*((_DWORD *)v1 + 106) = 0;
*((_DWORD *)v1 + 107) = 0;
*((_DWORD *)v1 + 108) = 0;
*((_DWORD *)v1 + 109) = -1;
if ( SecretLayer5::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
v2 = *(_DWORD *)v1;
v3 = (int *)v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v2 + 8))(v3);
}
return v1;
}