//
// GauntletSprite::addNormalSprite from 0x60db94 to 0x60dc42 (174 bytes)
//
// 1 xrefs:
// > GauntletSprite::toggleLockedSprite @ 0x60ddf2
//
// 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 GauntletSprite::addNormalSprite(GauntletSprite *this)
{
const char *v2; // r1
cocos2d::CCSprite *v3; // r0
int v4; // r7
void (__fastcall *v5)(int, _BYTE *); // r8
float v6; // s17
int v7; // r0
_BYTE v9[8]; // [sp+0h] [bp-18h] BYREF
int v10[3]; // [sp+8h] [bp-10h] BYREF
GauntletNode::frameForType(v10, *((_DWORD *)this + 66));
if ( (v10[0] & 1) != 0 )
v3 = (cocos2d::CCSprite *)v10[2];
else
v3 = (cocos2d::CCSprite *)((char *)v10 + 1);
v4 = cocos2d::CCSprite::createWithSpriteFrameName(v3, v2);
(*(void (__fastcall **)(GauntletSprite *, int))(*(_DWORD *)this + 228))(this, v4);
v5 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v4 + 92);
v6 = *(float *)(*(int (__fastcall **)(GauntletSprite *))(*(_DWORD *)this + 164))(this);
v7 = (*(int (__fastcall **)(GauntletSprite *))(*(_DWORD *)this + 164))(this);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, v6 * 0.5, *(float *)(v7 + 4) * 0.5);
v5(v4, v9);
return std::string::~string((int)v10);
}