// // AchievementNotifier::willSwitchToScene from 0x642ee0 to 0x642f70 (144 bytes) // // 2 xrefs: // > AppDelegate::willSwitchToScene @ 0x6e65c8 // > @ 0x892d8 // // 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 12:50:18 +0000 // cocos2d::CCScene *__fastcall AchievementNotifier::willSwitchToScene(AchievementNotifier *this, cocos2d::CCScene *a2) { cocos2d::CCScene *result; // x0 result = *((cocos2d::CCScene **)this + 42); *((_QWORD *)this + 40) = a2; if ( result ) { result = (cocos2d::CCScene *)(*(__int64 (__fastcall **)(cocos2d::CCScene *))(*(_QWORD *)result + 512LL))(result); if ( a2 != result ) { cocos2d::CCObject::retain(*((cocos2d::CCObject **)this + 42)); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 42) + 528LL))(*((_QWORD *)this + 42), 0); (*(void (__fastcall **)(cocos2d::CCScene *, _QWORD, __int64))(*(_QWORD *)a2 + 464LL))( a2, *((_QWORD *)this + 42), 105); cocos2d::CCObject::release(*((cocos2d::CCObject **)this + 42)); return (cocos2d::CCScene *)cocos2d::CCNode::resumeSchedulerAndActions(*((cocos2d::CCNode **)this + 42)); } } return result; }