{"type": "func", "start": 4294998496, "end": 4294998527, "name": "-[AppController applicationShouldTerminateExec]", "pseudocode": "// \n// -[AppController applicationShouldTerminateExec] from 0x1000079e0 to 0x1000079ff (31 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100998f18\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __cdecl -[AppController applicationShouldTerminateExec](AppController *self, SEL a2)\n{\n  AppDelegate *v2; // rax\n\n  self->saveCalled_ = 1;\n  v2 = AppDelegate::get();\n  ((void (__fastcall *)(AppDelegate *, __int64))v2->trySaveGame)(v2, 1);\n}", "assembly": "; \n; -[AppController applicationShouldTerminateExec] from 0x1000079e0 to 0x1000079ff (31 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100998f18\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1000079e0\nmov     rbp, rsp                                                       ; +0x1, 0x1000079e1\nmov     byte ptr [rdi+19h], 1                                          ; +0x4, 0x1000079e4\ncall    AppDelegate__get                                               ; +0x8, 0x1000079e8\nmov     rcx, [rax]                                                     ; +0xd, 0x1000079ed\nmov     rcx, [rcx+38h]                                                 ; +0x10, 0x1000079f0\nmov     rdi, rax                                                       ; +0x14, 0x1000079f4\nmov     esi, 1                                                         ; +0x17, 0x1000079f7\npop     rbp                                                            ; +0x1c, 0x1000079fc\njmp     rcx                                                            ; +0x1d, 0x1000079fd", "xrefs": ["<???> @ 0x100998f18"], "is_objc": true, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}