//
// ChallengesPage::exitNodeAtSlot from 0x100387cd0 to 0x100387da6 (214 bytes)
//
// 4 xrefs:
// > ChallengesPage::challengeStatusFinished @ 0x100387b2c
// > ChallengesPage::challengeStatusFinished @ 0x100387ba8
// > ChallengesPage::challengeStatusFinished @ 0x100387c35
// > ChallengesPage::claimItem @ 0x100388311
//
// This function is hookable on this platform (idp: pc, 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 12:29:10 +0000
//
void __fastcall ChallengesPage::exitNodeAtSlot(__int64 a1, int a2, float a3)
{
__int64 v3; // rax
__int64 v4; // r15
int v5; // r12d
__int64 v6; // rax
__int64 v7; // rax
int v8; // r13d
int v9; // eax
int v10; // r8d
int v11; // r9d
__int64 v12; // rax
float v13[2]; // [rsp+Ch] [rbp-34h] BYREF
float v14; // [rsp+14h] [rbp-2Ch]
v14 = a3;
v3 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 728), a2);
if ( v3 )
{
v4 = v3;
v5 = cocos2d::CCDelayTime::create(v14);
v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 192LL))(v4);
sub_100278250(v13, -160.0, *(float *)(v6 + 4));
v7 = cocos2d::CCMoveTo::create(v13, 0.5);
v8 = cocos2d::CCEaseElasticIn::create(v7, 1.2);
v9 = cocos2d::CCCallFunc::create(v4, 537, 0);
v12 = sub_10039EB60(v5, v8, v9, 0, v10, v11);
cocos2d::CCNode::runAction(v4, v12);
cocos2d::CCDictionary::removeObjectForKey_1(*(_QWORD *)(a1 + 728), a2);
}
}