{"type": "func", "start": 4299973120, "end": 4299973342, "name": "GJUINode::updateButtonPositions", "pseudocode": "// \n// GJUINode::updateButtonPositions from 0x1004c6200 to 0x1004c62de (222 bytes)\n// \n// 0 xrefs:\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:31:07 +0000\n// \n\nvoid __fastcall GJUINode::updateButtonPositions(__int64 a1)\n{\n  __int64 *v1; // rax\n  __int64 v2; // rcx\n  float v3; // xmm0_4\n  float *v4; // rbx\n  __int64 v5; // rbx\n  float v6; // [rsp-30h] [rbp-30h] BYREF\n  float v7; // [rsp-28h] [rbp-28h]\n  float v8; // [rsp-24h] [rbp-24h]\n\n  if ( *(_QWORD *)(a1 + 328) )\n  {\n    v1 = *(__int64 **)(a1 + 320);\n    v2 = *v1;\n    if ( *(_BYTE *)(a1 + 381) == 1 )\n    {\n      (*(void (__fastcall **)(_QWORD, _QWORD *))(v2 + 184))(*(_QWORD *)(a1 + 320), &qword_100BE42F8);\n    }\n    else\n    {\n      v3 = (*(float (__fastcall **)(__int64 *))(v2 + 168))(v1);\n      v4 = *(float **)(a1 + 320);\n      v8 = v3 * v4[108];\n      v7 = *(float *)(a1 + 372);\n      sub_100278250(&v6, (float)(-0.5 * v8) - v7, 0.0);\n      (*(void (__fastcall **)(float *, float *))(*(_QWORD *)v4 + 184LL))(v4, &v6);\n      v5 = *(_QWORD *)(a1 + 328);\n      sub_100278250(&v6, (float)(v8 * 0.5) + v7, 0.0);\n      (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v5 + 184LL))(v5, &v6);\n    }\n  }\n}", "assembly": "; \n; GJUINode::updateButtonPositions from 0x1004c6200 to 0x1004c62de (222 bytes)\n; \n; 0 xrefs:\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:31:07 +0000\n; \ncmp     qword ptr [rdi+148h], 0                                        ; +0x0, 0x1004c6200\njz      locret_1004C62DD                                               ; +0x8, 0x1004c6208\nmov     rax, [rdi+140h]                                                ; +0xe, 0x1004c620e\nmov     rcx, [rax]                                                     ; +0x15, 0x1004c6215\ncmp     byte ptr [rdi+17Dh], 1                                         ; +0x18, 0x1004c6218\njnz     short loc_1004C6234                                            ; +0x1f, 0x1004c621f\nmov     rcx, [rcx+0B8h]                                                ; +0x21, 0x1004c6221\nlea     rsi, qword_100BE42F8                                           ; +0x28, 0x1004c6228\nmov     rdi, rax                                                       ; +0x2f, 0x1004c622f\njmp     rcx                                                            ; +0x32, 0x1004c6232\npush    rbp                                                            ; +0x34, 0x1004c6234\nmov     rbp, rsp                                                       ; +0x35, 0x1004c6235\npush    r15                                                            ; +0x38, 0x1004c6238\npush    r14                                                            ; +0x3a, 0x1004c623a\npush    rbx                                                            ; +0x3c, 0x1004c623c\nsub     rsp, 18h                                                       ; +0x3d, 0x1004c623d\nmov     r15, rdi                                                       ; +0x41, 0x1004c6241\nmov     rdi, rax                                                       ; +0x44, 0x1004c6244\ncall    qword ptr [rcx+0A8h]                                           ; +0x47, 0x1004c6247\nmovaps  xmm1, xmm0                                                     ; +0x4d, 0x1004c624d\nmov     rbx, [r15+140h]                                                ; +0x50, 0x1004c6250\nmulss   xmm1, dword ptr [rbx+1B0h]                                     ; +0x57, 0x1004c6257\nmovss   dword ptr [rbp-1Ch], xmm1                                      ; +0x5f, 0x1004c625f\nmovss   xmm2, dword ptr [r15+174h]                                     ; +0x64, 0x1004c6264\nmovss   dword ptr [rbp-20h], xmm2                                      ; +0x6d, 0x1004c626d\nmovss   xmm0, cs:dword_100A037A0                                       ; +0x72, 0x1004c6272\nmulss   xmm0, xmm1                                                     ; +0x7a, 0x1004c627a\nsubss   xmm0, xmm2                                                     ; +0x7e, 0x1004c627e\nlea     r14, [rbp-28h]                                                 ; +0x82, 0x1004c6282\nxorps   xmm1, xmm1                                                     ; +0x86, 0x1004c6286\nmov     rdi, r14                                                       ; +0x89, 0x1004c6289\ncall    sub_100278250                                                  ; +0x8c, 0x1004c628c\nmov     rax, [rbx]                                                     ; +0x91, 0x1004c6291\nmov     rdi, rbx                                                       ; +0x94, 0x1004c6294\nmov     rsi, r14                                                       ; +0x97, 0x1004c6297\ncall    qword ptr [rax+0B8h]                                           ; +0x9a, 0x1004c629a\nmov     rbx, [r15+148h]                                                ; +0xa0, 0x1004c62a0\nmovss   xmm0, dword ptr [rbp-1Ch]                                      ; +0xa7, 0x1004c62a7\nmulss   xmm0, cs:dword_100A03578                                       ; +0xac, 0x1004c62ac\naddss   xmm0, dword ptr [rbp-20h]                                      ; +0xb4, 0x1004c62b4\nxorps   xmm1, xmm1                                                     ; +0xb9, 0x1004c62b9\nmov     rdi, r14                                                       ; +0xbc, 0x1004c62bc\ncall    sub_100278250                                                  ; +0xbf, 0x1004c62bf\nmov     rax, [rbx]                                                     ; +0xc4, 0x1004c62c4\nmov     rdi, rbx                                                       ; +0xc7, 0x1004c62c7\nmov     rsi, r14                                                       ; +0xca, 0x1004c62ca\ncall    qword ptr [rax+0B8h]                                           ; +0xcd, 0x1004c62cd\nadd     rsp, 18h                                                       ; +0xd3, 0x1004c62d3\npop     rbx                                                            ; +0xd7, 0x1004c62d7\npop     r14                                                            ; +0xd8, 0x1004c62d8\npop     r15                                                            ; +0xda, 0x1004c62da\npop     rbp                                                            ; +0xdc, 0x1004c62dc\nretn                                                                   ; +0xdd, 0x1004c62dd", "xrefs": [], "is_objc": false, "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"}