{"type": "func", "start": 4295000528, "end": 4295000561, "name": "-[AppController windowShouldCloseExec]", "pseudocode": "// \n// -[AppController windowShouldCloseExec] from 0x1000081d0 to 0x1000081f1 (33 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1009990c8\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 windowShouldCloseExec](AppController *self, SEL a2)\n{\n  AppDelegate *v2; // rax\n\n  *(_WORD *)&self->saveCalled_ = 257;\n  v2 = AppDelegate::get();\n  ((void (__fastcall *)(AppDelegate *, __int64))v2->trySaveGame)(v2, 1);\n}", "assembly": "; \n; -[AppController windowShouldCloseExec] from 0x1000081d0 to 0x1000081f1 (33 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1009990c8\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, 0x1000081d0\nmov     rbp, rsp                                                       ; +0x1, 0x1000081d1\nmov     word ptr [rdi+19h], 101h                                       ; +0x4, 0x1000081d4\ncall    AppDelegate__get                                               ; +0xa, 0x1000081da\nmov     rcx, [rax]                                                     ; +0xf, 0x1000081df\nmov     rcx, [rcx+38h]                                                 ; +0x12, 0x1000081e2\nmov     rdi, rax                                                       ; +0x16, 0x1000081e6\nmov     esi, 1                                                         ; +0x19, 0x1000081e9\npop     rbp                                                            ; +0x1e, 0x1000081ee\njmp     rcx                                                            ; +0x1f, 0x1000081ef", "xrefs": ["<???> @ 0x1009990c8"], "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"}