//
// ChallengesPage::exitNodeAtSlot from 0x100036370 to 0x10003644c (220 bytes)
//
// 2 xrefs:
// > ChallengesPage::challengeStatusFinished @ 0x1000362c0
// > ChallengesPage::claimItem @ 0x100036868
//
// 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 10:57:32 +0000
//
__int64 __fastcall ChallengesPage::exitNodeAtSlot(__int64 a1, int a2, float a3)
{
__int64 v5; // x19
__int64 result; // x0
__int64 v7; // x21
__int64 v8; // x22
__int64 v9; // x0
__int64 v10; // x0
__int64 v11; // x0
float v12; // [xsp+18h] [xbp-48h] BYREF
v5 = a2;
result = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 728), a2);
if ( result )
{
v7 = result;
v8 = cocos2d::CCDelayTime::create(a3);
v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 192LL))(v7);
sub_1000262BC(&v12, -160.0, *(float *)(v9 + 4));
v10 = cocos2d::CCMoveTo::create(&v12, 0.5);
cocos2d::CCEaseElasticIn::create(v10, 1.2);
cocos2d::CCCallFunc::create(v7, 536, 1);
v11 = sub_10021D420(v8);
cocos2d::CCNode::runAction(v7, v11);
return cocos2d::CCDictionary::removeObjectForKey_1(*(_QWORD *)(a1 + 728), v5);
}
return result;
}