//
// GauntletSelectLayer::create from 0x60d69c to 0x60d76c (208 bytes)
//
// 1 xrefs:
// > GauntletSelectLayer::scene @ 0x60d782
//
// 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:49 +0000
//
int *__fastcall GauntletSelectLayer::create(GauntletSelectLayer *this, int a2)
{
int *v3; // r4
int v4; // r3
int *v5; // r0
v3 = (int *)operator new(0x178u);
memset(v3, 0, 0x178u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v3);
*v3 = (int)&off_CC35E0;
v3[66] = (int)&off_CC383C;
v3[67] = (int)&off_CC3874;
v3[68] = (int)&off_CC3880;
v3[69] = (int)&off_CC3890;
v3[70] = (int)&off_CC38A4;
v3[79] = (int)&off_CC38BC;
v3[80] = (int)&off_CC38D4;
v3[81] = (int)&off_CC38F0;
v3[82] = 0;
v3[83] = 0;
v3[84] = 0;
v3[85] = 0;
v3[86] = 0;
*((_BYTE *)v3 + 348) = 0;
*((_BYTE *)v3 + 349) = 0;
v3[88] = 0;
v3[89] = 0;
v3[90] = 0;
*((_BYTE *)v3 + 364) = 0;
v3[92] = 0;
*((_BYTE *)v3 + 372) = 0;
*((_BYTE *)v3 + 373) = 0;
if ( GauntletSelectLayer::init((GauntletSelectLayer *)v3, (int)this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
}
else
{
v4 = *v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(int *))(v4 + 8))(v5);
}
return v3;
}