//
// DailyLevelPage::exitDailyNode from 0x100231a20 to 0x100231ad1 (177 bytes)
//
// 3 xrefs:
// > DailyLevelPage::dailyStatusFinished @ 0x1002318c3
// > DailyLevelPage::claimLevelReward @ 0x100232465
// > DailyLevelPage::skipDailyLevel @ 0x10023258e
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall DailyLevelPage::exitDailyNode(DailyLevelPage *a1, DailyLevelNode *a2, float a3)
{
cocos2d::CCPoint v3; // rax
unsigned int v4; // r14d
__int64 v5; // rax
cocos2d::CCMoveTo *v6; // rax
unsigned int v7; // r15d
unsigned int v8; // eax
int v9; // r8d
int v10; // r9d
cocos2d::CCAction *v11; // rax
cocos2d::CCPoint v12[5]; // [rsp-28h] [rbp-28h] BYREF
if ( a2 )
{
v12[0] = v3;
if ( a1->m_dailyNode == a2 )
a1->m_dailyNode = nullptr;
v4 = (unsigned int)cocos2d::CCDelayTime::create(a3);
v5 = ((__int64 (__fastcall *)(DailyLevelNode *))a2->getPosition)(a2);
sub_10028CBE0(v12, -160.0, *(float *)(v5 + 4));
v6 = cocos2d::CCMoveTo::create(0.5, v12);
v7 = (unsigned int)cocos2d::CCEaseElasticIn::create(v6, 1.2);
v8 = (unsigned int)cocos2d::CCCallFunc::create(a2, (cocos2d::SEL_CallFunc)0x209uLL);
v11 = (cocos2d::CCAction *)sub_1003B5760(v4, v7, v8, 0, v9, v10);
cocos2d::CCNode::runAction(a2, v11);
}
}