//
// GauntletNode::create from 0xa76304 to 0xa763b8 (180 bytes)
//
// 2 xrefs:
// > GauntletSelectLayer::setupGauntlets @ 0xa76588
// > ??> @ 0xda308
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:00:26 +0000
//
__int64 __fastcall GauntletNode::create(GauntletNode *this, GJMapPack *a2)
{
__int64 v3; // x19
v3 = operator new(0x168u);
memset((void *)v3, 0, 0x168u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v3);
*(_QWORD *)(v3 + 320) = 0;
*(_QWORD *)(v3 + 328) = 0;
*(_QWORD *)v3 = &off_14938A0;
*(_QWORD *)(v3 + 344) = 0;
*(_BYTE *)(v3 + 352) = 0;
if ( (unsigned __int8)GauntletNode::init((GauntletNode *)v3, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
return v3;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 16LL))(v3);
return 0;
}
}