//
// GauntletNode::onUnlock from 0x60d85c to 0x60d924 (200 bytes)
//
// 1 xrefs:
// > GauntletSelectLayer::showUnlockGauntlet @ 0x60d954
//
// 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 GauntletNode::onUnlock(GauntletNode *this)
{
cocos2d::extension::CCScale9Sprite *v2; // r5
void (__fastcall *v3)(cocos2d::extension::CCScale9Sprite *, _DWORD *); // r9
float v4; // r1
cocos2d::CCEaseIn *v5; // r0
float v6; // r2
cocos2d::CCSequence *v7; // r9
cocos2d::CCFiniteTimeAction *v8; // r0
cocos2d::CCAction *v9; // r0
_DWORD v11[4]; // [sp+Ch] [bp-18h] BYREF
*((_BYTE *)this + 284) = 0;
GauntletNode::generateNode(this);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v11, 0.0, 0.0, 86.0, 86.0);
v2 = (cocos2d::extension::CCScale9Sprite *)cocos2d::extension::CCScale9Sprite::create("GJ_squareB_01.png", v11);
(*(void (__fastcall **)(cocos2d::extension::CCScale9Sprite *, int))(*(_DWORD *)v2 + 456))(v2, 255);
v3 = *(void (__fastcall **)(cocos2d::extension::CCScale9Sprite *, _DWORD *))(*(_DWORD *)v2 + 160);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v11, 110.0, 234.0);
v3(v2, v11);
(*(void (__fastcall **)(GauntletNode *, cocos2d::extension::CCScale9Sprite *, int))(*(_DWORD *)this + 232))(
this,
v2,
100);
(*(void (__fastcall **)(cocos2d::extension::CCScale9Sprite *, __int16 *))(*(_DWORD *)v2 + 480))(v2, &word_BEE830);
cocos2d::extension::CCScale9Sprite::setBlendAdditive(v2, 1);
v5 = (cocos2d::CCEaseIn *)cocos2d::CCFadeOut::create((cocos2d::CCFadeOut *)0x3F4CCCCD, v4);
v7 = (cocos2d::CCSequence *)cocos2d::CCEaseIn::create(v5, (cocos2d::CCActionInterval *)0x3FC00000, v6);
v11[0] = 268;
v11[1] = 1;
v8 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v2, 268, 1);
v9 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v7, v8, 0);
return cocos2d::CCNode::runAction(v2, v9);
}