{"type": "func", "start": 4294985520, "end": 4294985585, "name": "-[AppController handleWindowResizeWMenu:Center:]", "pseudocode": "// \n// -[AppController handleWindowResizeWMenu:Center:] from 0x100004730 to 0x100004771 (65 bytes)\n// \n// 4 xrefs:\n// > -[AppController windowDidEndLiveResize:] @ 0x10000456e\n// > -[AppController windowDidResize:] @ 0x1000045ec\n// > -[AppController windowShouldZoom:toFrame:] @ 0x1000046fb\n// > <???> @ 0x100bdb1e0\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 handleWindowResizeWMenu:Center:](AppController *self, SEL a2, CGRect a3, char a4)\n{\n  double v4; // xmm0_8\n  CGFloat v5; // xmm1_8\n\n  if ( a4 )\n    self->_forceCenter = 1;\n  HIDWORD(v4) = HIDWORD(a3.size.width);\n  v5 = a3.size.height - self->_menuBarHeight;\n  *(float *)&v4 = a3.size.width;\n  *(float *)&v5 = v5;\n  -[AppController updateWindowSize:Height:DontMove:](self, \"updateWindowSize:Height:DontMove:\", a4 == 0, v4, v5);\n}", "assembly": "; \n; -[AppController handleWindowResizeWMenu:Center:] from 0x100004730 to 0x100004771 (65 bytes)\n; \n; 4 xrefs:\n; > -[AppController windowDidEndLiveResize:] @ 0x10000456e\n; > -[AppController windowDidResize:] @ 0x1000045ec\n; > -[AppController windowShouldZoom:toFrame:] @ 0x1000046fb\n; > <???> @ 0x100bdb1e0\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, 0x100004730\nmov     rbp, rsp                                                       ; +0x1, 0x100004731\nlea     rcx, [rbp+arg_0]                                               ; +0x4, 0x100004734\ntest    dl, dl                                                         ; +0x8, 0x100004738\njz      short loc_100004740                                            ; +0xa, 0x10000473a\nmov     byte ptr [rdi+1Ch], 1                                          ; +0xc, 0x10000473c\nxor     eax, eax                                                       ; +0x10, 0x100004740\ntest    dl, dl                                                         ; +0x12, 0x100004742\nsetz    al                                                             ; +0x14, 0x100004744\nmovsd   xmm0, qword ptr [rcx+10h]                                      ; +0x17, 0x100004747\nmovsd   xmm1, qword ptr [rcx+18h]                                      ; +0x1c, 0x10000474c\nsubsd   xmm1, qword ptr [rdi+0B8h]                                     ; +0x21, 0x100004751\ncvtsd2ss xmm0, xmm0                                                    ; +0x29, 0x100004759\ncvtsd2ss xmm1, xmm1                                                    ; +0x2d, 0x10000475d\nmov     rsi, cs:selRef_updateWindowSize_Height_DontMove_               ; +0x31, 0x100004761\nmov     edx, eax                                                       ; +0x38, 0x100004768\npop     rbp                                                            ; +0x3a, 0x10000476a\njmp     cs:_objc_msgSend_ptr; -[AppController updateWindowSize:Height:DontMove:] ... ; +0x3b, 0x10000476b", "xrefs": ["-[AppController windowDidEndLiveResize:] @ 0x10000456e", "-[AppController windowDidResize:] @ 0x1000045ec", "-[AppController windowShouldZoom:toFrame:] @ 0x1000046fb", "<???> @ 0x100bdb1e0"], "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"}