{"type": "func", "start": 4295001376, "end": 4295001509, "name": "-[AppController handleWindowResize:Center:]", "pseudocode": "// \n// -[AppController handleWindowResize:Center:] from 0x100008520 to 0x1000085a5 (133 bytes)\n// \n// 4 xrefs:\n// > -[AppController applicationDidFinishLaunching:] @ 0x100007799\n// > -[AppController toggleFullScreen:] @ 0x100007c70\n// > -[AppController handleQueuedWindowResize] @ 0x10000850d\n// > <???> @ 0x1009991a0\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 handleWindowResize:Center:](AppController *self, SEL a2, CGRect a3, char a4)\n{\n  double v5; // xmm0_8\n  double v6; // xmm1_8\n\n  if ( a4 )\n    self->_forceCenter = 1;\n  HIDWORD(v5) = HIDWORD(a3.size.width);\n  *(float *)&v5 = a3.size.width;\n  HIDWORD(v6) = HIDWORD(a3.size.height);\n  *(float *)&v6 = a3.size.height;\n  -[AppController updateWindowSize:Height:DontMove:](self, \"updateWindowSize:Height:DontMove:\", a4 == 0, v5, v6);\n  self->_savedSize = a3;\n  self->originalWinFrame_ = a3;\n  if ( a4 )\n    self->_forceCenter = 0;\n}", "assembly": "; \n; -[AppController handleWindowResize:Center:] from 0x100008520 to 0x1000085a5 (133 bytes)\n; \n; 4 xrefs:\n; > -[AppController applicationDidFinishLaunching:] @ 0x100007799\n; > -[AppController toggleFullScreen:] @ 0x100007c70\n; > -[AppController handleQueuedWindowResize] @ 0x10000850d\n; > <???> @ 0x1009991a0\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, 0x100008520\nmov     rbp, rsp                                                       ; +0x1, 0x100008521\npush    r15                                                            ; +0x4, 0x100008524\npush    r14                                                            ; +0x6, 0x100008526\npush    rbx                                                            ; +0x8, 0x100008528\npush    rax                                                            ; +0x9, 0x100008529\nmov     r14d, edx                                                      ; +0xa, 0x10000852a\nmov     rbx, rdi                                                       ; +0xd, 0x10000852d\nlea     r15, [rbp+arg_0]                                               ; +0x10, 0x100008530\ntest    r14b, r14b                                                     ; +0x14, 0x100008534\njz      short loc_10000853D                                            ; +0x17, 0x100008537\nmov     byte ptr [rbx+1Ch], 1                                          ; +0x19, 0x100008539\nxor     edx, edx                                                       ; +0x1d, 0x10000853d\ntest    r14b, r14b                                                     ; +0x1f, 0x10000853f\nsetz    dl                                                             ; +0x22, 0x100008542\nmovsd   xmm0, qword ptr [r15+10h]                                      ; +0x25, 0x100008545\ncvtsd2ss xmm0, xmm0                                                    ; +0x2b, 0x10000854b\nmovsd   xmm1, qword ptr [r15+18h]                                      ; +0x2f, 0x10000854f\ncvtsd2ss xmm1, xmm1                                                    ; +0x35, 0x100008555\nmov     rsi, cs:selRef_updateWindowSize_Height_DontMove_; SEL          ; +0x39, 0x100008559\nmov     rdi, rbx; id                                                   ; +0x40, 0x100008560\ncall    cs:_objc_msgSend_ptr; -[AppController updateWindowSize:Height:DontMove:] ... ; +0x43, 0x100008563\nmovups  xmm0, xmmword ptr [r15]                                        ; +0x49, 0x100008569\nmovups  xmm1, xmmword ptr [r15+10h]                                    ; +0x4d, 0x10000856d\nmovups  xmmword ptr [rbx+60h], xmm1                                    ; +0x52, 0x100008572\nmovups  xmmword ptr [rbx+50h], xmm0                                    ; +0x56, 0x100008576\nmovups  xmm0, xmmword ptr [r15]                                        ; +0x5a, 0x10000857a\nmovups  xmm1, xmmword ptr [r15+10h]                                    ; +0x5e, 0x10000857e\nmovups  xmmword ptr [rbx+98h], xmm0                                    ; +0x63, 0x100008583\nmovups  xmmword ptr [rbx+0A8h], xmm1                                   ; +0x6a, 0x10000858a\ntest    r14b, r14b                                                     ; +0x71, 0x100008591\njz      short loc_10000859A                                            ; +0x74, 0x100008594\nmov     byte ptr [rbx+1Ch], 0                                          ; +0x76, 0x100008596\nadd     rsp, 8                                                         ; +0x7a, 0x10000859a\npop     rbx                                                            ; +0x7e, 0x10000859e\npop     r14                                                            ; +0x7f, 0x10000859f\npop     r15                                                            ; +0x81, 0x1000085a1\npop     rbp                                                            ; +0x83, 0x1000085a3\nretn                                                                   ; +0x84, 0x1000085a4", "xrefs": ["-[AppController applicationDidFinishLaunching:] @ 0x100007799", "-[AppController toggleFullScreen:] @ 0x100007c70", "-[AppController handleQueuedWindowResize] @ 0x10000850d", "<???> @ 0x1009991a0"], "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"}