{"type": "func", "start": 4299994128, "end": 4299994227, "name": "GJUINode::updateWidth", "pseudocode": "// \n// GJUINode::updateWidth from 0x1004cb410 to 0x1004cb473 (99 bytes)\n// \n// 4 xrefs:\n// > UIOptionsLayer::valueDidChange @ 0x1002b4839\n// > UIOptionsLayer::valueDidChange @ 0x1002b48cd\n// > UIOptionsLayer::valueDidChange @ 0x1002b48df\n// > UIOptionsLayer::valueDidChange @ 0x1002b4a8e\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\n// local variable allocation has failed, the output may be wrong!\nvoid __fastcall GJUINode::updateWidth(GJUINode *a1, float a2)\n{\n  __m128 v2; // xmm2\n  __m128 height_low; // xmm3\n  unsigned __int64 v4[4]; // [rsp+0h] [rbp-20h] BYREF\n\n  v2 = *(__m128 *)&a2;\n  height_low = (__m128)LODWORD(a1->m_rect.size.height);\n  v2.f32[0] = fmaxf(a2, 10.0);\n  height_low.f32[0] = fmaxf(height_low.f32[0], 10.0);\n  sub_10028CC00((__int64)v4, v2.f32[0] * -0.5, -0.5 * height_low.f32[0], v2, height_low);\n  sub_10028D1A0((__m128 *)&a1->m_rect, v4);\n}", "assembly": "; \n; GJUINode::updateWidth from 0x1004cb410 to 0x1004cb473 (99 bytes)\n; \n; 4 xrefs:\n; > UIOptionsLayer::valueDidChange @ 0x1002b4839\n; > UIOptionsLayer::valueDidChange @ 0x1002b48cd\n; > UIOptionsLayer::valueDidChange @ 0x1002b48df\n; > UIOptionsLayer::valueDidChange @ 0x1002b4a8e\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, 0x1004cb410\nmov     rbp, rsp                                                       ; +0x1, 0x1004cb411\npush    r14                                                            ; +0x4, 0x1004cb414\npush    rbx                                                            ; +0x6, 0x1004cb416\nsub     rsp, 10h                                                       ; +0x7, 0x1004cb417\nmovaps  xmm2, xmm0                                                     ; +0xb, 0x1004cb41b\nmov     rbx, rdi                                                       ; +0xe, 0x1004cb41e\nmovss   xmm3, dword ptr [rdi+15Ch]                                     ; +0x11, 0x1004cb421\nmovss   xmm0, cs:dword_100814FEC                                       ; +0x19, 0x1004cb429\nmaxss   xmm2, xmm0                                                     ; +0x21, 0x1004cb431\nmaxss   xmm3, xmm0                                                     ; +0x25, 0x1004cb435\nmovss   xmm1, cs:dword_100815248                                       ; +0x29, 0x1004cb439\nmovaps  xmm0, xmm2                                                     ; +0x31, 0x1004cb441\nmulss   xmm0, xmm1                                                     ; +0x34, 0x1004cb444\nmulss   xmm1, xmm3                                                     ; +0x38, 0x1004cb448\nlea     r14, [rbp+var_20]                                              ; +0x3c, 0x1004cb44c\nmov     rdi, r14                                                       ; +0x40, 0x1004cb450\ncall    sub_10028CC00                                                  ; +0x43, 0x1004cb453\nadd     rbx, 150h                                                      ; +0x48, 0x1004cb458\nmov     rdi, rbx                                                       ; +0x4f, 0x1004cb45f\nmov     rsi, r14                                                       ; +0x52, 0x1004cb462\ncall    sub_10028D1A0                                                  ; +0x55, 0x1004cb465\nadd     rsp, 10h                                                       ; +0x5a, 0x1004cb46a\npop     rbx                                                            ; +0x5e, 0x1004cb46e\npop     r14                                                            ; +0x5f, 0x1004cb46f\npop     rbp                                                            ; +0x61, 0x1004cb471\nretn                                                                   ; +0x62, 0x1004cb472", "xrefs": ["UIOptionsLayer::valueDidChange @ 0x1002b4839", "UIOptionsLayer::valueDidChange @ 0x1002b48cd", "UIOptionsLayer::valueDidChange @ 0x1002b48df", "UIOptionsLayer::valueDidChange @ 0x1002b4a8e"], "is_objc": false, "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"}