//
// GauntletLayer::create from 0x1003929c0 to 0x100392a8c (204 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
//
GauntletLayer *__fastcall GauntletLayer::create(GauntletType a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x1E0u);
cocos2d::CCLayer::CCLayer(v1);
*(_QWORD *)v1 = off_10091FC78;
*((_QWORD *)v1 + 40) = off_100920108;
*((_QWORD *)v1 + 41) = &off_100920178;
*((_QWORD *)v1 + 42) = off_100920190;
*((_QWORD *)v1 + 43) = off_1009201B0;
*((_QWORD *)v1 + 44) = off_1009201D0;
*((_QWORD *)v1 + 51) = off_1009201F8;
*((_OWORD *)v1 + 26) = 0;
*(_OWORD *)(v1 + 440) = 0;
*(_OWORD *)(v1 + 456) = 0;
*((_QWORD *)v1 + 59) = 0;
if ( GauntletLayer::init((GauntletLayer *)v1, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return (GauntletLayer *)v1;
}