//
// DailyLevelPage::exitDailyNode from 0x606f10 to 0x606f9e (142 bytes)
//
// 3 xrefs:
// > DailyLevelPage::skipDailyLevel @ 0x60707e
// > DailyLevelPage::claimLevelReward @ 0x607ca0
// > DailyLevelPage::dailyStatusFinished @ 0x60905c
//
// 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:45 +0000
//
int __fastcall DailyLevelPage::exitDailyNode(int this, DailyLevelNode *a2, cocos2d::CCDelayTime *a3, int a4)
{
cocos2d::CCSequence *v5; // r8
int v6; // r0
const cocos2d::CCPoint *v7; // r2
cocos2d::CCEaseElasticIn *v8; // r0
float v9; // r2
cocos2d::CCFiniteTimeAction *v10; // r7
int v11; // r0
cocos2d::CCAction *v12; // r0
int v13; // [sp+0h] [bp-10h]
DailyLevelNode *v14; // [sp+4h] [bp-Ch] BYREF
cocos2d::CCDelayTime *v15; // [sp+8h] [bp-8h]
int v16; // [sp+Ch] [bp-4h]
v13 = this;
v14 = a2;
v15 = a3;
v16 = a4;
if ( a2 )
{
if ( a2 == *(DailyLevelNode **)(this + 548) )
*(_DWORD *)(this + 548) = 0;
v5 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(a3, *(float *)&a2);
v6 = (*(int (__fastcall **)(DailyLevelNode *))(*(_DWORD *)a2 + 96))(a2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v14, -160.0, *(float *)(v6 + 4));
v8 = (cocos2d::CCEaseElasticIn *)cocos2d::CCMoveTo::create((cocos2d::CCMoveTo *)0x3F000000, COERCE_FLOAT(&v14), v7);
v10 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCEaseElasticIn::create(
v8,
(cocos2d::CCActionInterval *)0x3F99999A,
v9);
v14 = (DailyLevelNode *)&dword_10C;
v15 = (cocos2d::CCDelayTime *)(&dword_0 + 1);
v11 = cocos2d::CCCallFunc::create(a2, 268, 1);
v12 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v5, v10, v11, 0, v13);
return cocos2d::CCNode::runAction(a2, v12);
}
return this;
}