{"type": "func", "start": 5373751248, "end": 5373751355, "name": "GJUINode::updateWidth", "pseudocode": "// \n// GJUINode::updateWidth from 0x1404cefd0 to 0x1404cf03b (107 bytes)\n// \n// 5 xrefs:\n// > UIOptionsLayer::valueDidChange @ 0x1402a322d\n// > UIOptionsLayer::valueDidChange @ 0x1402a324b\n// > UIOptionsLayer::valueDidChange @ 0x1402a3269\n// > UIOptionsLayer::valueDidChange @ 0x1402a3287\n// > <???> @ 0x1406dd580\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 GJUINode::updateWidth(GJUINode *a1, float a2)\n{\n  float v3; // xmm5_4\n  float v4; // xmm3_4\n  __int64 v5; // rax\n  cocos2d::CCRect v6; // [rsp+30h] [rbp-18h] BYREF\n\n  v3 = fmaxf(10.0, a1->m_rect.size.height);\n  v4 = fmaxf(10.0, a2);\n  cocos2d::CCRect::CCRect(&v6, (float)-v4 * 0.5, (float)-v3 * 0.5, v4, v3);\n  cocos2d::CCRect::operator=(&a1->m_rect, v5);\n}", "assembly": "; \n; GJUINode::updateWidth from 0x1404cefd0 to 0x1404cf03b (107 bytes)\n; \n; 5 xrefs:\n; > UIOptionsLayer::valueDidChange @ 0x1402a322d\n; > UIOptionsLayer::valueDidChange @ 0x1402a324b\n; > UIOptionsLayer::valueDidChange @ 0x1402a3269\n; > UIOptionsLayer::valueDidChange @ 0x1402a3287\n; > <???> @ 0x1406dd580\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    rbx                                                            ; +0x0, 0x1404cefd0\nsub     rsp, 40h                                                       ; +0x2, 0x1404cefd2\nmovss   xmm5, cs:flt_14062307C                                         ; +0x6, 0x1404cefd6\nmov     rbx, rcx                                                       ; +0xe, 0x1404cefde\nmovaps  xmm3, xmm5                                                     ; +0x11, 0x1404cefe1\nmaxss   xmm5, dword ptr [rcx+15Ch]                                     ; +0x14, 0x1404cefe4\nmaxss   xmm3, xmm1                                                     ; +0x1c, 0x1404cefec\nlea     rcx, [rsp+48h+var_18]                                          ; +0x20, 0x1404ceff0\nmovaps  xmm2, xmm5                                                     ; +0x25, 0x1404ceff5\nmovss   [rsp+48h+var_28], xmm5                                         ; +0x28, 0x1404ceff8\nxorps   xmm2, cs:xmmword_1406243F0                                     ; +0x2e, 0x1404ceffe\nmovaps  xmm1, xmm3                                                     ; +0x35, 0x1404cf005\nxorps   xmm1, cs:xmmword_1406243F0                                     ; +0x38, 0x1404cf008\nmulss   xmm1, cs:dword_140622B08                                       ; +0x3f, 0x1404cf00f\nmulss   xmm2, cs:dword_140622B08                                       ; +0x47, 0x1404cf017\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x4f, 0x1404cf01f\nmov     rdx, rax                                                       ; +0x55, 0x1404cf025\nlea     rcx, [rbx+150h]                                                ; +0x58, 0x1404cf028\ncall    cs:??4CCRect@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCRect::operator=(cocos2d::CCRect const &) ; +0x5f, 0x1404cf02f\nadd     rsp, 40h                                                       ; +0x65, 0x1404cf035\npop     rbx                                                            ; +0x69, 0x1404cf039\nretn                                                                   ; +0x6a, 0x1404cf03a", "xrefs": ["UIOptionsLayer::valueDidChange @ 0x1402a322d", "UIOptionsLayer::valueDidChange @ 0x1402a324b", "UIOptionsLayer::valueDidChange @ 0x1402a3269", "UIOptionsLayer::valueDidChange @ 0x1402a3287", "<???> @ 0x1406dd580"], "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"}