{"type": "func", "start": 7234700, "end": 7234764, "name": "AppDelegate::applicationWillTerminate", "pseudocode": "// \n// AppDelegate::applicationWillTerminate from 0x6e648c to 0x6e64cc (64 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0xe6668\n// > <???> @ 0x1425218\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 12:51:43 +0000\n// \n\n__int64 __fastcall AppDelegate::applicationWillTerminate(AppDelegate *this)\n{\n  GameManager *v1; // x0\n  GManager *v2; // x0\n  LocalLevelManager *v3; // x0\n  GManager *v4; // x0\n\n  v1 = (GameManager *)(*(__int64 (__fastcall **)(AppDelegate *, _QWORD))(*(_QWORD *)this + 64LL))(this, 0);\n  v2 = (GManager *)GameManager::sharedState(v1);\n  v3 = (LocalLevelManager *)GManager::waitForSave(v2, 2.0);\n  v4 = (GManager *)LocalLevelManager::sharedState(v3);\n  return GManager::waitForSave(v4, 2.0);\n}", "assembly": "; \n; AppDelegate::applicationWillTerminate from 0x6e648c to 0x6e64cc (64 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0xe6668\n; > <???> @ 0x1425218\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 12:51:43 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x6e648c\nMOV             W1, #0                                                 ; +0x4, 0x6e6490\nMOV             X29, SP                                                ; +0x8, 0x6e6494\nSTR             D8, [SP,#0x20+var_10]                                  ; +0xc, 0x6e6498\nLDR             X2, [X0]                                               ; +0x10, 0x6e649c\nFMOV            D8, #2.0                                               ; +0x14, 0x6e64a0\nLDR             X2, [X2,#0x40]                                         ; +0x18, 0x6e64a4\nBLR             X2                                                     ; +0x1c, 0x6e64a8\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x20, 0x6e64ac\nFMOV            D0, D8; double                                         ; +0x24, 0x6e64b0\nBL              _ZN8GManager11waitForSaveEd; GManager::waitForSave(double) ; +0x28, 0x6e64b4\nBL              _ZN17LocalLevelManager11sharedStateEv; LocalLevelManager::sharedState(void) ; +0x2c, 0x6e64b8\nFMOV            D0, D8; double                                         ; +0x30, 0x6e64bc\nLDR             D8, [SP,#0x20+var_10]                                  ; +0x34, 0x6e64c0\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x38, 0x6e64c4\nB               _ZN8GManager11waitForSaveEd; GManager::waitForSave(double) ; +0x3c, 0x6e64c8", "xrefs": ["<???> @ 0xe6668", "<???> @ 0x1425218"], "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"}