{"type": "func", "start": 5370432800, "end": 5370432931, "name": "GJScaleControl::applyFocusedInput", "pseudocode": "// \n// GJScaleControl::applyFocusedInput from 0x1401a4d20 to 0x1401a4da3 (131 bytes)\n// \n// 3 xrefs:\n// > EditorUI::keyDown @ 0x1401c1b98\n// > EditorUI::handleAction @ 0x1401c1c34\n// > <???> @ 0x140919ae4\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 11:27:49 +0000\n// \n\nchar __fastcall GJScaleControl::applyFocusedInput(_QWORD *a1)\n{\n  __int64 v1; // rax\n  __int64 v3; // rax\n  __int64 v4; // rax\n\n  v1 = a1[61];\n  if ( v1 && *(_BYTE *)(v1 + 468) )\n  {\n    GJScaleControl::onApplyScale((__int64)a1, a1[64]);\n    return 1;\n  }\n  else\n  {\n    v3 = a1[62];\n    if ( v3 && *(_BYTE *)(v3 + 468) )\n    {\n      GJScaleControl::onApplyScale((__int64)a1, a1[65]);\n      return 1;\n    }\n    else\n    {\n      v4 = a1[63];\n      if ( v4 && *(_BYTE *)(v4 + 468) )\n      {\n        GJScaleControl::onApplyScale((__int64)a1, a1[66]);\n        return 1;\n      }\n      else\n      {\n        return 0;\n      }\n    }\n  }\n}", "assembly": "; \n; GJScaleControl::applyFocusedInput from 0x1401a4d20 to 0x1401a4da3 (131 bytes)\n; \n; 3 xrefs:\n; > EditorUI::keyDown @ 0x1401c1b98\n; > EditorUI::handleAction @ 0x1401c1c34\n; > <???> @ 0x140919ae4\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 11:27:49 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1401a4d20\nmov     rax, [rcx+1E8h]                                                ; +0x4, 0x1401a4d24\ntest    rax, rax                                                       ; +0xb, 0x1401a4d2b\njz      short loc_1401A4D4C                                            ; +0xe, 0x1401a4d2e\ncmp     byte ptr [rax+1D4h], 0                                         ; +0x10, 0x1401a4d30\njz      short loc_1401A4D4C                                            ; +0x17, 0x1401a4d37\nmov     rdx, [rcx+200h]                                                ; +0x19, 0x1401a4d39\ncall    GJScaleControl__onApplyScale                                   ; +0x20, 0x1401a4d40\nmov     al, 1                                                          ; +0x25, 0x1401a4d45\nadd     rsp, 28h                                                       ; +0x27, 0x1401a4d47\nretn                                                                   ; +0x2b, 0x1401a4d4b\nmov     rax, [rcx+1F0h]                                                ; +0x2c, 0x1401a4d4c\ntest    rax, rax                                                       ; +0x33, 0x1401a4d53\njz      short loc_1401A4D74                                            ; +0x36, 0x1401a4d56\ncmp     byte ptr [rax+1D4h], 0                                         ; +0x38, 0x1401a4d58\njz      short loc_1401A4D74                                            ; +0x3f, 0x1401a4d5f\nmov     rdx, [rcx+208h]                                                ; +0x41, 0x1401a4d61\ncall    GJScaleControl__onApplyScale                                   ; +0x48, 0x1401a4d68\nmov     al, 1                                                          ; +0x4d, 0x1401a4d6d\nadd     rsp, 28h                                                       ; +0x4f, 0x1401a4d6f\nretn                                                                   ; +0x53, 0x1401a4d73\nmov     rax, [rcx+1F8h]                                                ; +0x54, 0x1401a4d74\ntest    rax, rax                                                       ; +0x5b, 0x1401a4d7b\njz      short loc_1401A4D9C                                            ; +0x5e, 0x1401a4d7e\ncmp     byte ptr [rax+1D4h], 0                                         ; +0x60, 0x1401a4d80\njz      short loc_1401A4D9C                                            ; +0x67, 0x1401a4d87\nmov     rdx, [rcx+210h]                                                ; +0x69, 0x1401a4d89\ncall    GJScaleControl__onApplyScale                                   ; +0x70, 0x1401a4d90\nmov     al, 1                                                          ; +0x75, 0x1401a4d95\nadd     rsp, 28h                                                       ; +0x77, 0x1401a4d97\nretn                                                                   ; +0x7b, 0x1401a4d9b\nxor     al, al                                                         ; +0x7c, 0x1401a4d9c\nadd     rsp, 28h                                                       ; +0x7e, 0x1401a4d9e\nretn                                                                   ; +0x82, 0x1401a4da2", "xrefs": ["EditorUI::keyDown @ 0x1401c1b98", "EditorUI::handleAction @ 0x1401c1c34", "<???> @ 0x140919ae4"], "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"}