//
// DailyLevelPage::exitDailyNode from 0x100216060 to 0x100216111 (177 bytes)
//
// 3 xrefs:
// > DailyLevelPage::dailyStatusFinished @ 0x100215f03
// > DailyLevelPage::claimLevelReward @ 0x100216ab5
// > DailyLevelPage::skipDailyLevel @ 0x100216bde
//
// 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:27:00 +0000
//
__int64 __fastcall DailyLevelPage::exitDailyNode(__int64 a1, __int64 a2, float a3)
{
__int64 result; // rax
int v4; // r14d
__int64 v5; // rax
__int64 v6; // rax
int v7; // r15d
int v8; // eax
int v9; // r8d
int v10; // r9d
__int64 v11; // rax
_QWORD v12[5]; // [rsp-28h] [rbp-28h] BYREF
if ( a2 )
{
v12[0] = result;
if ( *(_QWORD *)(a1 + 720) == a2 )
*(_QWORD *)(a1 + 720) = 0;
v4 = cocos2d::CCDelayTime::create(a3);
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 192LL))(a2);
sub_100278250(v12, -160.0, *(float *)(v5 + 4));
v6 = cocos2d::CCMoveTo::create(v12, 0.5);
v7 = cocos2d::CCEaseElasticIn::create(v6, 1.2);
v8 = cocos2d::CCCallFunc::create(a2, 537, 0);
v11 = sub_10039EB60(v4, v7, v8, 0, v9, v10);
return cocos2d::CCNode::runAction(a2, v11);
}
return result;
}