//
// AppDelegate::willSwitchToScene from 0x3f6c04 to 0x3f6c20 (28 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'AppDelegate::willSwitchToScene @ 0x3f6c24
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:47:17 +0000
//
int __fastcall AppDelegate::willSwitchToScene(AppDelegate *this, cocos2d::CCScene *a2)
{
AchievementNotifier *v3; // r0
cocos2d::CCScene *v4; // r1
GameToolbox *v5; // r0
v3 = (AchievementNotifier *)AchievementNotifier::sharedState(this);
AchievementNotifier::willSwitchToScene(v3, a2);
v5 = GameToolbox::serverPopupWillSwitchToScene(a2, v4);
return CCTextInputNode::closeActiveInput(v5);
}