{"type": "func", "start": 4294982560, "end": 4294982636, "name": "-[AppController applicationWillResignActive:]", "pseudocode": "// \n// -[AppController applicationWillResignActive:] from 0x100003ba0 to 0x100003bec (76 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bdaf10\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 applicationWillResignActive:](AppController *self, SEL a2, id a3)\n{\n  unsigned __int16 v3; // ax\n  char **v4; // rcx\n\n  v3 = (unsigned __int16)-[CCWindow styleMask](self->_window, \"styleMask\", a3);\n  v4 = &selRef_applicationDidEnterBackgroundExec;\n  if ( (v3 & 0x4000) == 0 )\n    v4 = &selRef_applicationWillResignActiveExec;\n  -[AppController queueSelector:](self, \"queueSelector:\", *v4);\n}", "assembly": "; \n; -[AppController applicationWillResignActive:] from 0x100003ba0 to 0x100003bec (76 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bdaf10\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, 0x100003ba0\nmov     rbp, rsp                                                       ; +0x1, 0x100003ba1\npush    r14                                                            ; +0x4, 0x100003ba4\npush    rbx                                                            ; +0x6, 0x100003ba6\nmov     rbx, rdi                                                       ; +0x7, 0x100003ba7\nmov     rdi, [rdi+8]; id                                               ; +0xa, 0x100003baa\nmov     rsi, cs:selRef_styleMask; SEL                                  ; +0xe, 0x100003bae\nmov     r14, cs:_objc_msgSend_ptr                                      ; +0x15, 0x100003bb5\ncall    r14 ; _objc_msgSend; -[CCWindow styleMask] ...                 ; +0x1c, 0x100003bbc\ntest    eax, 4000h                                                     ; +0x1f, 0x100003bbf\nmov     rsi, cs:selRef_queueSelector_                                  ; +0x24, 0x100003bc4\nlea     rax, selRef_applicationWillResignActiveExec                    ; +0x2b, 0x100003bcb\nlea     rcx, selRef_applicationDidEnterBackgroundExec                  ; +0x32, 0x100003bd2\ncmovz   rcx, rax                                                       ; +0x39, 0x100003bd9\nmov     rdx, [rcx]                                                     ; +0x3d, 0x100003bdd\nmov     rdi, rbx                                                       ; +0x40, 0x100003be0\nmov     rax, r14                                                       ; +0x43, 0x100003be3\npop     rbx                                                            ; +0x46, 0x100003be6\npop     r14                                                            ; +0x47, 0x100003be7\npop     rbp                                                            ; +0x49, 0x100003be9\njmp     rax                                                            ; +0x4a, 0x100003bea", "xrefs": ["<???> @ 0x100bdaf10"], "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"}