//
// GauntletSprite::init from 0xa78438 to 0xa784e8 (176 bytes)
//
// 2 xrefs:
// > GauntletSprite::create @ 0xa78540
// > ??> @ 0x104de8
//
// 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:27 +0000
//
__int64 __fastcall GauntletSprite::init(cocos2d::CCNode *a1, int a2, unsigned __int8 a3)
{
unsigned __int8 v5; // w0
unsigned int v6; // w20
__int64 v7; // x2
void (__fastcall *v8)(cocos2d::CCNode *, _BYTE *); // x23
_BYTE v11[8]; // [xsp+50h] [xbp+50h] BYREF
v5 = cocos2d::CCNode::init(a1);
v6 = v5;
if ( v5 )
{
v7 = *(_QWORD *)a1;
*((_DWORD *)a1 + 79) = a2;
v8 = *(void (__fastcall **)(cocos2d::CCNode *, _BYTE *))(v7 + 320);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v11, 60.0, 60.0);
v8(a1, v11);
GauntletSprite::toggleLockedSprite(a1, a3);
}
return v6;
}