// // AchievementNotifier::willSwitchToScene from 0x1008aa660 to 0x1008aa6e5 (133 bytes) // // 2 xrefs: // > AppDelegate::willSwitchToScene @ 0x10073bdb4 // > sub_10073BDD0 @ 0x10073bde4 // // 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:37:18 +0000 // void __fastcall AchievementNotifier::willSwitchToScene(__int64 a1, __int64 a2) { __int64 v3; // rdi *(_QWORD *)(a1 + 320) = a2; v3 = *(_QWORD *)(a1 + 336); if ( v3 ) { if ( (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 512LL))(v3) != a2 ) { cocos2d::CCObject::retain(*(_QWORD *)(a1 + 336)); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 336) + 528LL))(*(_QWORD *)(a1 + 336), 0); (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)a2 + 464LL))(a2, *(_QWORD *)(a1 + 336), 105); cocos2d::CCObject::release(*(_DWORD **)(a1 + 336)); cocos2d::CCNode::resumeSchedulerAndActions(*(_QWORD *)(a1 + 336)); } } }