//
// GauntletLayer::create from 0x60f1b4 to 0x60f258 (164 bytes)
//
// 1 xrefs:
// > GauntletLayer::scene @ 0x60f26e
//
// 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:50 +0000
//
int *__fastcall GauntletLayer::create(int a1)
{
int *v2; // r4
int v3; // r3
int *v4; // r0
v2 = (int *)operator new(0x160u);
memset(v2, 0, 0x160u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v2);
*v2 = (int)&off_CC3CC0;
v2[66] = (int)&off_CC3F10;
v2[67] = (int)&off_CC3F48;
v2[68] = (int)&off_CC3F54;
v2[69] = (int)&off_CC3F64;
v2[70] = (int)&off_CC3F78;
v2[79] = (int)&off_CC3F90;
v2[80] = 0;
v2[81] = 0;
v2[83] = 0;
v2[84] = 0;
v2[85] = 0;
v2[86] = 0;
v2[87] = 0;
if ( GauntletLayer::init((int)v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
}
else
{
v3 = *v2;
v4 = v2;
v2 = nullptr;
(*(void (__fastcall **)(int *))(v3 + 8))(v4);
}
return v2;
}