//
// AppDelegate::applicationWillEnterForeground from 0x1003072b4 to 0x10030739c (232 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092b490
//
// 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 11:03:08 +0000
//
__int64 AppDelegate::applicationWillEnterForeground()
{
__int64 v0; // x0
__int64 v1; // x0
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x0
__int64 v5; // x19
__int64 v6; // x0
float *v7; // x19
__int64 v8; // x0
char v9; // w0
__int64 v10; // x1
__int64 v11; // x2
__int64 v12; // x3
__int64 v13; // x4
__int64 v14; // x5
__int64 v15; // x6
__int64 v16; // x7
__int64 v17; // x19
__int64 v18; // x0
__int64 v19; // x20
__int64 v20; // x2
v0 = cocos2d::CCDirector::sharedDirector();
(*(void (__fastcall **)(__int64))(*(_QWORD *)v0 + 104LL))(v0);
v1 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::resume(v1);
v2 = cocos2d::CCDirector::sharedDirector();
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 112LL))(v2);
v3 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::resumeAudio(v3);
nullsub_73();
nullsub_74();
v4 = cocos2d::CCDirector::sharedDirector();
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 144LL))(v4);
v6 = GameManager::sharedState(v5);
cocos2d::CCActionManager::removeActionByTag(v5, 1, v6);
v7 = cocos2d::CCDelayTime::create(0.0);
v8 = GameManager::sharedState(v7);
v9 = (unsigned __int8)cocos2d::CCCallFunc::create(v8, (__int64)sub_1003BB008, 0);
v17 = sub_10021D420((__int64)v7, v10, v11, v12, v13, v14, v15, v16, v9);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v17 + 72LL))(v17, 1);
v18 = cocos2d::CCDirector::sharedDirector();
v19 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v18 + 144LL))(v18);
v20 = GameManager::sharedState(v19);
return cocos2d::CCActionManager::addAction(v19, v17, v20, 0);
}