{"type": "func", "start": 4296397764, "end": 4296397872, "name": "EditorUI::getLimitedPosition", "pseudocode": "// \n// EditorUI::getLimitedPosition from 0x10015d3c4 to 0x10015d430 (108 bytes)\n// \n// 2 xrefs:\n// > EditorUI::moveObject @ 0x10015d1fc\n// > EditorUI::getGridSnappedPos @ 0x100477a48\n// \n// This function is hookable on this platform (idp: arm, 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 10:59:44 +0000\n// \n\ndouble __usercall EditorUI::getLimitedPosition@<D0>(__int64 a1@<X0>, float32x2_t *a2@<X1>, _QWORD *a3@<X8>)\n{\n  float v3; // s0\n  float32x2_t v4; // d1\n  float32x2_t v5; // d0\n\n  v3 = 80.0;\n  if ( *(_BYTE *)(*(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3272LL) + 453LL) )\n    v3 = 1000.0;\n  v4.f32[0] = vld1_dup_f32((const float *)&dword_10075E950).f32[0];\n  v4.f32[1] = (float)(v3 * 30.0) + 90.0;\n  v5 = vmaxnm_f32(*a2, (float32x2_t)vdup_n_s32(0xC53B8000));\n  *a2 = (float32x2_t)vbsl_s8((int8x8_t)vcgt_f32(v4, v5), (int8x8_t)v5, (int8x8_t)v4);\n  return sub_1000262F4(a3, (double *)a2);\n}", "assembly": "; \n; EditorUI::getLimitedPosition from 0x10015d3c4 to 0x10015d430 (108 bytes)\n; \n; 2 xrefs:\n; > EditorUI::moveObject @ 0x10015d1fc\n; > EditorUI::getGridSnappedPos @ 0x100477a48\n; \n; This function is hookable on this platform (idp: arm, 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 10:59:44 +0000\n; \nLDR             X9, [X0,#0x5A0]                                        ; +0x0, 0x10015d3c4\nLDR             X9, [X9,#0xCC8]                                        ; +0x4, 0x10015d3c8\nLDRB            W9, [X9,#0x1C5]                                        ; +0x8, 0x10015d3cc\nCMP             W9, #0                                                 ; +0xc, 0x10015d3d0\nMOV             W9, #0x42A00000                                        ; +0x10, 0x10015d3d4\nFMOV            S0, W9                                                 ; +0x14, 0x10015d3d8\nMOV             W9, #0x447A0000                                        ; +0x18, 0x10015d3dc\nFMOV            S1, W9                                                 ; +0x1c, 0x10015d3e0\nFCSEL           S0, S1, S0, NE                                         ; +0x20, 0x10015d3e4\nMOV             W9, #0x42B40000                                        ; +0x24, 0x10015d3e8\nFMOV            S1, W9                                                 ; +0x28, 0x10015d3ec\nFMOV            S2, #30.0                                              ; +0x2c, 0x10015d3f0\nFMADD           S0, S0, S2, S1                                         ; +0x30, 0x10015d3f4\nADRL            X9, dword_10075E950                                    ; +0x34, 0x10015d3f8\nLD1R            {V1.2S}, [X9]                                          ; +0x3c, 0x10015d400\nLDR             D2, [X1]                                               ; +0x40, 0x10015d404\nMOV             W9, #0xC53B8000                                        ; +0x44, 0x10015d408\nINS             V1.S[1], V0.S[0]                                       ; +0x4c, 0x10015d410\nDUP             V0.2S, W9                                              ; +0x50, 0x10015d414\nFMAXNM          V0.2S, V2.2S, V0.2S                                    ; +0x54, 0x10015d418\nFCMGT           V2.2S, V1.2S, V0.2S                                    ; +0x58, 0x10015d41c\nBIF             V0.8B, V1.8B, V2.8B                                    ; +0x5c, 0x10015d420\nSTR             D0, [X1]                                               ; +0x60, 0x10015d424\nMOV             X0, X8                                                 ; +0x64, 0x10015d428\nB               sub_1000262F4                                          ; +0x68, 0x10015d42c", "xrefs": ["EditorUI::moveObject @ 0x10015d1fc", "EditorUI::getGridSnappedPos @ 0x100477a48"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}