{"type": "func", "start": 4298142388, "end": 4298142620, "name": "AppDelegate::applicationWillEnterForeground", "pseudocode": "// \n// AppDelegate::applicationWillEnterForeground from 0x1003072b4 to 0x10030739c (232 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10092b490\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:03:08 +0000\n// \n\n__int64 AppDelegate::applicationWillEnterForeground()\n{\n  __int64 v0; // x0\n  __int64 v1; // x0\n  __int64 v2; // x0\n  __int64 v3; // x0\n  __int64 v4; // x0\n  __int64 v5; // x19\n  __int64 v6; // x0\n  float *v7; // x19\n  __int64 v8; // x0\n  char v9; // w0\n  __int64 v10; // x1\n  __int64 v11; // x2\n  __int64 v12; // x3\n  __int64 v13; // x4\n  __int64 v14; // x5\n  __int64 v15; // x6\n  __int64 v16; // x7\n  __int64 v17; // x19\n  __int64 v18; // x0\n  __int64 v19; // x20\n  __int64 v20; // x2\n\n  v0 = cocos2d::CCDirector::sharedDirector();\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v0 + 104LL))(v0);\n  v1 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::resume(v1);\n  v2 = cocos2d::CCDirector::sharedDirector();\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 112LL))(v2);\n  v3 = FMODAudioEngine::sharedEngine();\n  FMODAudioEngine::resumeAudio(v3);\n  nullsub_73();\n  nullsub_74();\n  v4 = cocos2d::CCDirector::sharedDirector();\n  v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 144LL))(v4);\n  v6 = GameManager::sharedState(v5);\n  cocos2d::CCActionManager::removeActionByTag(v5, 1, v6);\n  v7 = cocos2d::CCDelayTime::create(0.0);\n  v8 = GameManager::sharedState(v7);\n  v9 = (unsigned __int8)cocos2d::CCCallFunc::create(v8, (__int64)sub_1003BB008, 0);\n  v17 = sub_10021D420((__int64)v7, v10, v11, v12, v13, v14, v15, v16, v9);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v17 + 72LL))(v17, 1);\n  v18 = cocos2d::CCDirector::sharedDirector();\n  v19 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v18 + 144LL))(v18);\n  v20 = GameManager::sharedState(v19);\n  return cocos2d::CCActionManager::addAction(v19, v17, v20, 0);\n}", "assembly": "; \n; AppDelegate::applicationWillEnterForeground from 0x1003072b4 to 0x10030739c (232 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10092b490\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:03:08 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x1003072b4\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003072b8\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003072bc\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003072c0\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x10, 0x1003072c4\nLDR             X8, [X0]                                               ; +0x14, 0x1003072c8\nLDR             X8, [X8,#0x68]                                         ; +0x18, 0x1003072cc\nBLR             X8                                                     ; +0x1c, 0x1003072d0\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x20, 0x1003072d4\nBL              cocos2d__CCDirector__resume                            ; +0x24, 0x1003072d8\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x28, 0x1003072dc\nLDR             X8, [X0]                                               ; +0x2c, 0x1003072e0\nLDR             X8, [X8,#0x70]                                         ; +0x30, 0x1003072e4\nBLR             X8                                                     ; +0x34, 0x1003072e8\nBL              FMODAudioEngine__sharedEngine                          ; +0x38, 0x1003072ec\nBL              FMODAudioEngine__resumeAudio                           ; +0x3c, 0x1003072f0\nBL              nullsub_73                                             ; +0x40, 0x1003072f4\nBL              nullsub_74                                             ; +0x44, 0x1003072f8\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x48, 0x1003072fc\nLDR             X8, [X0]                                               ; +0x4c, 0x100307300\nLDR             X8, [X8,#0x90]                                         ; +0x50, 0x100307304\nBLR             X8                                                     ; +0x54, 0x100307308\nMOV             X19, X0                                                ; +0x58, 0x10030730c\nBL              GameManager__sharedState                               ; +0x5c, 0x100307310\nMOV             X2, X0                                                 ; +0x60, 0x100307314\nMOV             X0, X19                                                ; +0x64, 0x100307318\nMOV             W1, #1                                                 ; +0x68, 0x10030731c\nBL              cocos2d__CCActionManager__removeActionByTag            ; +0x6c, 0x100307320\nFMOV            S0, WZR                                                ; +0x70, 0x100307324\nBL              cocos2d__CCDelayTime__create                           ; +0x74, 0x100307328\nMOV             X19, X0                                                ; +0x78, 0x10030732c\nBL              GameManager__sharedState                               ; +0x7c, 0x100307330\nADRL            X1, sub_1003BB008                                      ; +0x80, 0x100307334\nMOV             X2, #0                                                 ; +0x88, 0x10030733c\nBL              cocos2d__CCCallFunc__create                            ; +0x8c, 0x100307340\nSTP             X0, XZR, [SP,#0x20+var_20]                             ; +0x90, 0x100307344\nMOV             X0, X19                                                ; +0x94, 0x100307348\nBL              sub_10021D420                                          ; +0x98, 0x10030734c\nMOV             X19, X0                                                ; +0x9c, 0x100307350\nLDR             X8, [X0]                                               ; +0xa0, 0x100307354\nLDR             X8, [X8,#0x48]                                         ; +0xa4, 0x100307358\nMOV             W1, #1                                                 ; +0xa8, 0x10030735c\nBLR             X8                                                     ; +0xac, 0x100307360\nBL              cocos2d__CCDirector__sharedDirector                    ; +0xb0, 0x100307364\nLDR             X8, [X0]                                               ; +0xb4, 0x100307368\nLDR             X8, [X8,#0x90]                                         ; +0xb8, 0x10030736c\nBLR             X8                                                     ; +0xbc, 0x100307370\nMOV             X20, X0                                                ; +0xc0, 0x100307374\nBL              GameManager__sharedState                               ; +0xc4, 0x100307378\nMOV             X2, X0                                                 ; +0xc8, 0x10030737c\nMOV             X0, X20                                                ; +0xcc, 0x100307380\nMOV             X1, X19                                                ; +0xd0, 0x100307384\nMOV             W3, #0                                                 ; +0xd4, 0x100307388\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xd8, 0x10030738c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xdc, 0x100307390\nADD             SP, SP, #0x30 ; '0'                                    ; +0xe0, 0x100307394\nB               cocos2d__CCActionManager__addAction                    ; +0xe4, 0x100307398", "xrefs": ["<???> @ 0x10092b490"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}