{"type": "func", "start": 4294983040, "end": 4294983105, "name": "-[AppController shutdownGame]", "pseudocode": "// \n// -[AppController shutdownGame] from 0x100003d80 to 0x100003dc1 (65 bytes)\n// \n// 2 xrefs:\n// > -[AppController gameDidSave] @ 0x100003d4c\n// > <???> @ 0x100bdafe8\n// \n// This function is hookable on this platform (idp: pc, 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:18:45 +0000\n// \n\nvoid __cdecl -[AppController shutdownGame](AppController *self, SEL a2)\n{\n  __int64 v2; // rax\n  NSApplication *v3; // rax\n\n  v2 = sub_1006DE2F0(self, a2);\n  sub_1006DE5B0(v2);\n  v3 = +[NSApplication sharedApplication](&OBJC_CLASS___NSApplication, \"sharedApplication\");\n  -[NSApplication terminate:](v3, \"terminate:\", 0);\n}", "assembly": "; \n; -[AppController shutdownGame] from 0x100003d80 to 0x100003dc1 (65 bytes)\n; \n; 2 xrefs:\n; > -[AppController gameDidSave] @ 0x100003d4c\n; > <???> @ 0x100bdafe8\n; \n; This function is hookable on this platform (idp: pc, 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:18:45 +0000\n; \npush    rbp                                                            ; +0x0, 0x100003d80\nmov     rbp, rsp                                                       ; +0x1, 0x100003d81\npush    rbx                                                            ; +0x4, 0x100003d84\npush    rax                                                            ; +0x5, 0x100003d85\ncall    sub_1006DE2F0                                                  ; +0x6, 0x100003d86\nmov     rdi, rax                                                       ; +0xb, 0x100003d8b\ncall    sub_1006DE5B0                                                  ; +0xe, 0x100003d8e\nmov     rdi, cs:classRef_NSApplication; id                             ; +0x13, 0x100003d93\nmov     rsi, cs:selRef_sharedApplication; SEL                          ; +0x1a, 0x100003d9a\nmov     rbx, cs:_objc_msgSend_ptr                                      ; +0x21, 0x100003da1\ncall    rbx ; _objc_msgSend; +[NSApplication sharedApplication] ...    ; +0x28, 0x100003da8\nmov     rsi, cs:selRef_terminate_                                      ; +0x2a, 0x100003daa\nmov     rdi, rax                                                       ; +0x31, 0x100003db1\nxor     edx, edx                                                       ; +0x34, 0x100003db4\nmov     rax, rbx                                                       ; +0x36, 0x100003db6\nadd     rsp, 8                                                         ; +0x39, 0x100003db9\npop     rbx                                                            ; +0x3d, 0x100003dbd\npop     rbp                                                            ; +0x3e, 0x100003dbe\njmp     rax                                                            ; +0x3f, 0x100003dbf", "xrefs": ["-[AppController gameDidSave] @ 0x100003d4c", "<???> @ 0x100bdafe8"], "is_objc": true, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}