{"type": "func", "start": 4294982784, "end": 4294982838, "name": "-[AppController applicationShouldTerminate:]", "pseudocode": "// \n// -[AppController applicationShouldTerminate:] from 0x100003c80 to 0x100003cb6 (54 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bdaf88\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\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 0x100003c80 to 0x100003cb6 (54 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bdaf88\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; \nmov     eax, 1                                                         ; +0x0, 0x100003c80\ncmp     byte ptr [rdi+18h], 0                                          ; +0x5, 0x100003c85\njz      short loc_100003C8C                                            ; +0x9, 0x100003c89\nretn                                                                   ; +0xb, 0x100003c8b\nmov     eax, 2                                                         ; +0xc, 0x100003c8c\ncmp     byte ptr [rdi+19h], 0                                          ; +0x11, 0x100003c91\njnz     short locret_100003C8B                                         ; +0x15, 0x100003c95\npush    rbp                                                            ; +0x17, 0x100003c97\nmov     rbp, rsp                                                       ; +0x18, 0x100003c98\nmov     rdx, cs:selRef_applicationShouldTerminateExec                  ; +0x1b, 0x100003c9b\nmov     rsi, cs:selRef_queueSelector_; SEL                             ; +0x22, 0x100003ca2\ncall    cs:_objc_msgSend_ptr; -[AppController queueSelector:] ...      ; +0x29, 0x100003ca9\nmov     eax, 2                                                         ; +0x2f, 0x100003caf\npop     rbp                                                            ; +0x34, 0x100003cb4\nretn                                                                   ; +0x35, 0x100003cb5", "xrefs": ["<???> @ 0x100bdaf88"], "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"}