{"type": "func", "start": 4294998688, "end": 4294998753, "name": "-[AppController shutdownGame]", "pseudocode": "// \n// -[AppController shutdownGame] from 0x100007aa0 to 0x100007ae1 (65 bytes)\n// \n// 2 xrefs:\n// > -[AppController gameDidSave] @ 0x100007a6c\n// > <???> @ 0x100998f60\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 shutdownGame](AppController *self, SEL a2)\n{\n  __int64 v2; // rax\n  NSApplication *v3; // rax\n\n  v2 = sub_100606910(self, a2);\n  sub_100606C70(v2);\n  v3 = +[NSApplication sharedApplication](&OBJC_CLASS___NSApplication, \"sharedApplication\");\n  -[NSApplication terminate:](v3, \"terminate:\", 0);\n}", "assembly": "; \n; -[AppController shutdownGame] from 0x100007aa0 to 0x100007ae1 (65 bytes)\n; \n; 2 xrefs:\n; > -[AppController gameDidSave] @ 0x100007a6c\n; > <???> @ 0x100998f60\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, 0x100007aa0\nmov     rbp, rsp                                                       ; +0x1, 0x100007aa1\npush    rbx                                                            ; +0x4, 0x100007aa4\npush    rax                                                            ; +0x5, 0x100007aa5\ncall    sub_100606910                                                  ; +0x6, 0x100007aa6\nmov     rdi, rax                                                       ; +0xb, 0x100007aab\ncall    sub_100606C70                                                  ; +0xe, 0x100007aae\nmov     rdi, cs:classRef_NSApplication; id                             ; +0x13, 0x100007ab3\nmov     rsi, cs:selRef_sharedApplication; SEL                          ; +0x1a, 0x100007aba\nmov     rbx, cs:_objc_msgSend_ptr                                      ; +0x21, 0x100007ac1\ncall    rbx ; _objc_msgSend; +[NSApplication sharedApplication] ...    ; +0x28, 0x100007ac8\nmov     rsi, cs:selRef_terminate_                                      ; +0x2a, 0x100007aca\nmov     rdi, rax                                                       ; +0x31, 0x100007ad1\nxor     edx, edx                                                       ; +0x34, 0x100007ad4\nmov     rax, rbx                                                       ; +0x36, 0x100007ad6\nadd     rsp, 8                                                         ; +0x39, 0x100007ad9\npop     rbx                                                            ; +0x3d, 0x100007add\npop     rbp                                                            ; +0x3e, 0x100007ade\njmp     rax                                                            ; +0x3f, 0x100007adf", "xrefs": ["-[AppController gameDidSave] @ 0x100007a6c", "<???> @ 0x100998f60"], "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"}