{"type": "func", "start": 4294998432, "end": 4294998486, "name": "-[AppController applicationShouldTerminate:]", "pseudocode": "// \n// -[AppController applicationShouldTerminate:] from 0x1000079a0 to 0x1000079d6 (54 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100998f00\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\nunsigned __int64 __cdecl -[AppController applicationShouldTerminate:](AppController *self, SEL a2, id a3)\n{\n  unsigned __int64 result; // rax\n\n  result = 1;\n  if ( !self->shouldClose_ )\n  {\n    result = 2;\n    if ( !self->saveCalled_ )\n    {\n      -[AppController queueSelector:](self, \"queueSelector:\", \"applicationShouldTerminateExec\");\n      return 2;\n    }\n  }\n  return result;\n}", "assembly": "; \n; -[AppController applicationShouldTerminate:] from 0x1000079a0 to 0x1000079d6 (54 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100998f00\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\nmov     eax, 1                                                         ; +0x0, 0x1000079a0\ncmp     byte ptr [rdi+18h], 0                                          ; +0x5, 0x1000079a5\njz      short loc_1000079AC                                            ; +0x9, 0x1000079a9\nretn                                                                   ; +0xb, 0x1000079ab\nmov     eax, 2                                                         ; +0xc, 0x1000079ac\ncmp     byte ptr [rdi+19h], 0                                          ; +0x11, 0x1000079b1\njnz     short locret_1000079AB                                         ; +0x15, 0x1000079b5\npush    rbp                                                            ; +0x17, 0x1000079b7\nmov     rbp, rsp                                                       ; +0x18, 0x1000079b8\nmov     rdx, cs:selRef_applicationShouldTerminateExec                  ; +0x1b, 0x1000079bb\nmov     rsi, cs:selRef_queueSelector_; SEL                             ; +0x22, 0x1000079c2\ncall    cs:_objc_msgSend_ptr; -[AppController queueSelector:] ...      ; +0x29, 0x1000079c9\nmov     eax, 2                                                         ; +0x2f, 0x1000079cf\npop     rbp                                                            ; +0x34, 0x1000079d4\nretn                                                                   ; +0x35, 0x1000079d5", "xrefs": ["<???> @ 0x100998f00"], "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"}