{"type": "func", "start": 4299973344, "end": 4299973581, "name": "GJUINode::updateDragRadius", "pseudocode": "// \n// GJUINode::updateDragRadius from 0x1004c62e0 to 0x1004c63cd (237 bytes)\n// \n// 3 xrefs:\n// > UIOptionsLayer::valueDidChange @ 0x1002a25e4\n// > UIOptionsLayer::valueDidChange @ 0x1002a2836\n// > TouchControlEditLayer::ccTouchMoved @ 0x10097b6a3\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::updateDragRadius(__int64 a1, float a2)\n{\n  __int64 *v2; // rax\n  __int64 v3; // rcx\n  float v4; // xmm0_4\n  float *v5; // rbx\n  __int64 v6; // rbx\n  float v7; // [rsp-30h] [rbp-30h] BYREF\n  float v8; // [rsp-28h] [rbp-28h]\n  float v9; // [rsp-24h] [rbp-24h]\n\n  *(float *)(a1 + 372) = fmaxf(a2, 0.0);\n  if ( *(_QWORD *)(a1 + 328) )\n  {\n    v2 = *(__int64 **)(a1 + 320);\n    v3 = *v2;\n    if ( *(_BYTE *)(a1 + 381) == 1 )\n    {\n      (*(void (__fastcall **)(_QWORD, _QWORD *))(v3 + 184))(*(_QWORD *)(a1 + 320), &qword_100BE42F8);\n    }\n    else\n    {\n      v4 = (*(float (__fastcall **)(__int64 *))(v3 + 168))(v2);\n      v5 = *(float **)(a1 + 320);\n      v9 = v4 * v5[108];\n      v8 = *(float *)(a1 + 372);\n      sub_100278250(&v7, (float)(-0.5 * v9) - v8, 0.0);\n      (*(void (__fastcall **)(float *, float *))(*(_QWORD *)v5 + 184LL))(v5, &v7);\n      v6 = *(_QWORD *)(a1 + 328);\n      sub_100278250(&v7, (float)(v9 * 0.5) + v8, 0.0);\n      (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v6 + 184LL))(v6, &v7);\n    }\n  }\n}", "assembly": "; \n; GJUINode::updateDragRadius from 0x1004c62e0 to 0x1004c63cd (237 bytes)\n; \n; 3 xrefs:\n; > UIOptionsLayer::valueDidChange @ 0x1002a25e4\n; > UIOptionsLayer::valueDidChange @ 0x1002a2836\n; > TouchControlEditLayer::ccTouchMoved @ 0x10097b6a3\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; \nxorps   xmm1, xmm1                                                     ; +0x0, 0x1004c62e0\nmaxss   xmm0, xmm1                                                     ; +0x3, 0x1004c62e3\nmovss   dword ptr [rdi+174h], xmm0                                     ; +0x7, 0x1004c62e7\ncmp     qword ptr [rdi+148h], 0                                        ; +0xf, 0x1004c62ef\njz      locret_1004C63CC                                               ; +0x17, 0x1004c62f7\nmov     rax, [rdi+140h]                                                ; +0x1d, 0x1004c62fd\nmov     rcx, [rax]                                                     ; +0x24, 0x1004c6304\ncmp     byte ptr [rdi+17Dh], 1                                         ; +0x27, 0x1004c6307\njnz     short loc_1004C6323                                            ; +0x2e, 0x1004c630e\nmov     rcx, [rcx+0B8h]                                                ; +0x30, 0x1004c6310\nlea     rsi, qword_100BE42F8                                           ; +0x37, 0x1004c6317\nmov     rdi, rax                                                       ; +0x3e, 0x1004c631e\njmp     rcx                                                            ; +0x41, 0x1004c6321\npush    rbp                                                            ; +0x43, 0x1004c6323\nmov     rbp, rsp                                                       ; +0x44, 0x1004c6324\npush    r15                                                            ; +0x47, 0x1004c6327\npush    r14                                                            ; +0x49, 0x1004c6329\npush    rbx                                                            ; +0x4b, 0x1004c632b\nsub     rsp, 18h                                                       ; +0x4c, 0x1004c632c\nmov     r15, rdi                                                       ; +0x50, 0x1004c6330\nmov     rdi, rax                                                       ; +0x53, 0x1004c6333\ncall    qword ptr [rcx+0A8h]                                           ; +0x56, 0x1004c6336\nmovaps  xmm1, xmm0                                                     ; +0x5c, 0x1004c633c\nmov     rbx, [r15+140h]                                                ; +0x5f, 0x1004c633f\nmulss   xmm1, dword ptr [rbx+1B0h]                                     ; +0x66, 0x1004c6346\nmovss   dword ptr [rbp-1Ch], xmm1                                      ; +0x6e, 0x1004c634e\nmovss   xmm2, dword ptr [r15+174h]                                     ; +0x73, 0x1004c6353\nmovss   dword ptr [rbp-20h], xmm2                                      ; +0x7c, 0x1004c635c\nmovss   xmm0, cs:dword_100A037A0                                       ; +0x81, 0x1004c6361\nmulss   xmm0, xmm1                                                     ; +0x89, 0x1004c6369\nsubss   xmm0, xmm2                                                     ; +0x8d, 0x1004c636d\nlea     r14, [rbp-28h]                                                 ; +0x91, 0x1004c6371\nxorps   xmm1, xmm1                                                     ; +0x95, 0x1004c6375\nmov     rdi, r14                                                       ; +0x98, 0x1004c6378\ncall    sub_100278250                                                  ; +0x9b, 0x1004c637b\nmov     rax, [rbx]                                                     ; +0xa0, 0x1004c6380\nmov     rdi, rbx                                                       ; +0xa3, 0x1004c6383\nmov     rsi, r14                                                       ; +0xa6, 0x1004c6386\ncall    qword ptr [rax+0B8h]                                           ; +0xa9, 0x1004c6389\nmov     rbx, [r15+148h]                                                ; +0xaf, 0x1004c638f\nmovss   xmm0, dword ptr [rbp-1Ch]                                      ; +0xb6, 0x1004c6396\nmulss   xmm0, cs:dword_100A03578                                       ; +0xbb, 0x1004c639b\naddss   xmm0, dword ptr [rbp-20h]                                      ; +0xc3, 0x1004c63a3\nxorps   xmm1, xmm1                                                     ; +0xc8, 0x1004c63a8\nmov     rdi, r14                                                       ; +0xcb, 0x1004c63ab\ncall    sub_100278250                                                  ; +0xce, 0x1004c63ae\nmov     rax, [rbx]                                                     ; +0xd3, 0x1004c63b3\nmov     rdi, rbx                                                       ; +0xd6, 0x1004c63b6\nmov     rsi, r14                                                       ; +0xd9, 0x1004c63b9\ncall    qword ptr [rax+0B8h]                                           ; +0xdc, 0x1004c63bc\nadd     rsp, 18h                                                       ; +0xe2, 0x1004c63c2\npop     rbx                                                            ; +0xe6, 0x1004c63c6\npop     r14                                                            ; +0xe7, 0x1004c63c7\npop     r15                                                            ; +0xe9, 0x1004c63c9\npop     rbp                                                            ; +0xeb, 0x1004c63cb\nretn                                                                   ; +0xec, 0x1004c63cc", "xrefs": ["UIOptionsLayer::valueDidChange @ 0x1002a25e4", "UIOptionsLayer::valueDidChange @ 0x1002a2836", "TouchControlEditLayer::ccTouchMoved @ 0x10097b6a3"], "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"}