//
// AppDelegate::willSwitchToScene from 0x6e65b0 to 0x6e65e0 (48 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'AppDelegate::willSwitchToScene @ 0x6e65e4
// > ??> @ 0x1041e8
// > ??> @ 0x1425250
//
// 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:51:43 +0000
//
__int64 __fastcall AppDelegate::willSwitchToScene(AppDelegate *this, cocos2d::CCScene *a2)
{
AchievementNotifier *v3; // x0
cocos2d::CCScene *v4; // x1
GameToolbox *v5; // x0
v3 = (AchievementNotifier *)AchievementNotifier::sharedState(this);
AchievementNotifier::willSwitchToScene(v3, a2);
v5 = GameToolbox::serverPopupWillSwitchToScene(a2, v4);
return CCTextInputNode::closeActiveInput(v5);
}