{"type": "func", "start": 4294998096, "end": 4294998172, "name": "-[AppController applicationWillBecomeActive:]", "pseudocode": "// \n// -[AppController applicationWillBecomeActive:] from 0x100007850 to 0x10000789c (76 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100998e28\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 applicationWillBecomeActive:](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_applicationWillEnterForegroundExec;\n  if ( (v3 & 0x4000) == 0 )\n    v4 = &selRef_applicationWillBecomeActiveExec;\n  -[AppController queueSelector:](self, \"queueSelector:\", *v4);\n}", "assembly": "; \n; -[AppController applicationWillBecomeActive:] from 0x100007850 to 0x10000789c (76 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100998e28\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, 0x100007850\nmov     rbp, rsp                                                       ; +0x1, 0x100007851\npush    r14                                                            ; +0x4, 0x100007854\npush    rbx                                                            ; +0x6, 0x100007856\nmov     rbx, rdi                                                       ; +0x7, 0x100007857\nmov     rdi, [rdi+8]; id                                               ; +0xa, 0x10000785a\nmov     rsi, cs:selRef_styleMask; SEL                                  ; +0xe, 0x10000785e\nmov     r14, cs:_objc_msgSend_ptr                                      ; +0x15, 0x100007865\ncall    r14 ; _objc_msgSend; -[CCWindow styleMask] ...                 ; +0x1c, 0x10000786c\ntest    eax, 4000h                                                     ; +0x1f, 0x10000786f\nmov     rsi, cs:selRef_queueSelector_                                  ; +0x24, 0x100007874\nlea     rax, selRef_applicationWillBecomeActiveExec                    ; +0x2b, 0x10000787b\nlea     rcx, selRef_applicationWillEnterForegroundExec                 ; +0x32, 0x100007882\ncmovz   rcx, rax                                                       ; +0x39, 0x100007889\nmov     rdx, [rcx]                                                     ; +0x3d, 0x10000788d\nmov     rdi, rbx                                                       ; +0x40, 0x100007890\nmov     rax, r14                                                       ; +0x43, 0x100007893\npop     rbx                                                            ; +0x46, 0x100007896\npop     r14                                                            ; +0x47, 0x100007897\npop     rbp                                                            ; +0x49, 0x100007899\njmp     rax                                                            ; +0x4a, 0x10000789a", "xrefs": ["<???> @ 0x100998e28"], "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"}