//
// GauntletNode::onUnlock from 0x100255f54 to 0x100256068 (276 bytes)
//
// 1 xrefs:
// > GauntletSelectLayer::unlockAnimationFinished @ 0x100256448
//
// 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 11:01:33 +0000
//
double __fastcall GauntletNode::onUnlock(_BYTE *a1)
{
__int64 v2; // x19
float *v3; // x0
__int64 v4; // x20
char v5; // w0
__int64 v6; // x1
__int64 v7; // x2
__int64 v8; // x3
__int64 v9; // x4
__int64 v10; // x5
__int64 v11; // x6
__int64 v12; // x7
__int64 v13; // x0
double result; // d0
float v15[4]; // [xsp+10h] [xbp-20h] BYREF
a1[352] = 0;
GauntletNode::generateNode();
sub_1000262CC(v15, 0.0, 0.0, 86.0, 86.0);
v2 = cocos2d::extension::CCScale9Sprite::create("GJ_squareB_01.png", v15);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 912LL))(v2, 255);
sub_1000262C4(v15, 110.0, 234.0);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v2 + 320LL))(v2, v15);
(*(void (__fastcall **)(_BYTE *, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v2, 100);
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v2 + 960LL))(v2, &unk_100762AB4);
cocos2d::extension::CCScale9Sprite::setBlendAdditive(v2, 1);
v3 = cocos2d::CCFadeOut::create(0.8);
v4 = cocos2d::CCEaseIn::create(v3, 1.5);
v5 = (unsigned __int8)cocos2d::CCCallFunc::create(v2, 536, 1);
v13 = sub_10021D420(v4, v6, v7, v8, v9, v10, v11, v12, v5);
*(_QWORD *)&result = cocos2d::CCNode::runAction(v2, v13).n128_u64[0];
return result;
}