// // AchievementNotifier::willSwitchToScene from 0x1007c2dd0 to 0x1007c2e55 (133 bytes) // // 2 xrefs: // > AppDelegate::willSwitchToScene @ 0x10065c84a // > sub_10065C850 @ 0x10065c86a // // 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 AchievementNotifier::willSwitchToScene(AchievementNotifier *a1, cocos2d::CCScene *a2) { AchievementBar *m_activeAchievementBar; // rdi a1->m_nextScene = a2; m_activeAchievementBar = a1->m_activeAchievementBar; if ( m_activeAchievementBar ) { if ( (cocos2d::CCScene *)((__int64 (__fastcall *)(AchievementBar *))m_activeAchievementBar->getParent)(m_activeAchievementBar) != a2 ) { cocos2d::CCObject::retain(a1->m_activeAchievementBar); ((void (__fastcall *)(AchievementBar *, _QWORD))a1->m_activeAchievementBar->removeFromParentAndCleanup)( a1->m_activeAchievementBar, 0); ((void (__fastcall *)(cocos2d::CCScene *, AchievementBar *, __int64))a2->addChild_0)( a2, a1->m_activeAchievementBar, 105); cocos2d::CCObject::release(a1->m_activeAchievementBar); cocos2d::CCNode::resumeSchedulerAndActions(a1->m_activeAchievementBar); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source