{"type": "func", "start": 4295023584, "end": 4295023861, "name": "EditorUI::getXMin", "pseudocode": "// \n// EditorUI::getXMin from 0x10000dbe0 to 0x10000dcf5 (277 bytes)\n// \n// 8 xrefs:\n// > EditorUI::init @ 0x10000680b\n// > EditorUI::sliderChanged @ 0x100007be0\n// > EditorUI::updateSlider @ 0x100009231\n// > EditorUI::xPosFromValue @ 0x10000db53\n// > EditorUI::valueFromXPos @ 0x10000dd13\n// > EditorUI::centerCameraOnObject @ 0x1000104e7\n// > EditorUI::onCreateObject @ 0x100011533\n// > EditorUI::updateZoom @ 0x100012203\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:18:50 +0000\n// \n\nfloat __fastcall EditorUI::getXMin(__int64 a1, int a2)\n{\n  __int64 v3; // rax\n  __int64 v4; // rdi\n  __int64 v5; // rax\n  float v6; // xmm0_4\n  __int64 v7; // r12\n  _BYTE v9[8]; // [rsp+8h] [rbp-48h] BYREF\n  float v10; // [rsp+10h] [rbp-40h] BYREF\n  float v11; // [rsp+18h] [rbp-38h] BYREF\n  _BYTE v12[48]; // [rsp+20h] [rbp-30h] BYREF\n\n  v3 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 1440) + 3920LL) + 192LL))(*(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL));\n  sub_1002782D0(v9, v3);\n  v4 = *(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL);\n  (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v4 + 184LL))(v4, &qword_100BE0DD8);\n  v5 = cocos2d::CCDirector::sharedDirector(v4, &qword_100BE0DD8);\n  v6 = sub_100479760(v5);\n  sub_100278250(&v10, v6, *(float *)(a1 + 852));\n  v7 = *(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL);\n  sub_100278250(v12, (float)((float)a2 * 30.0) + -30.0, 60.0);\n  cocos2d::CCNode::convertToWorldSpace(&v11, v7, v12);\n  cocos2d::CCNode::convertToNodeSpace(v12, *(_QWORD *)(a1 + 1440), &v11);\n  sub_100278300(&v11, v12);\n  (*(void (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(*(_QWORD *)(a1 + 1440) + 3920LL) + 184LL))(\n    *(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL),\n    v9);\n  return v10 - v11;\n}", "assembly": "; \n; EditorUI::getXMin from 0x10000dbe0 to 0x10000dcf5 (277 bytes)\n; \n; 8 xrefs:\n; > EditorUI::init @ 0x10000680b\n; > EditorUI::sliderChanged @ 0x100007be0\n; > EditorUI::updateSlider @ 0x100009231\n; > EditorUI::xPosFromValue @ 0x10000db53\n; > EditorUI::valueFromXPos @ 0x10000dd13\n; > EditorUI::centerCameraOnObject @ 0x1000104e7\n; > EditorUI::onCreateObject @ 0x100011533\n; > EditorUI::updateZoom @ 0x100012203\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:18:50 +0000\n; \npush    rbp                                                            ; +0x0, 0x10000dbe0\nmov     rbp, rsp                                                       ; +0x1, 0x10000dbe1\npush    r15                                                            ; +0x4, 0x10000dbe4\npush    r14                                                            ; +0x6, 0x10000dbe6\npush    r13                                                            ; +0x8, 0x10000dbe8\npush    r12                                                            ; +0xa, 0x10000dbea\npush    rbx                                                            ; +0xc, 0x10000dbec\nsub     rsp, 28h                                                       ; +0xd, 0x10000dbed\nmov     r15d, esi                                                      ; +0x11, 0x10000dbf1\nmov     rbx, rdi                                                       ; +0x14, 0x10000dbf4\nmov     rax, [rdi+5A0h]                                                ; +0x17, 0x10000dbf7\nmov     rdi, [rax+0F50h]                                               ; +0x1e, 0x10000dbfe\nmov     rax, [rdi]                                                     ; +0x25, 0x10000dc05\ncall    qword ptr [rax+0C0h]                                           ; +0x28, 0x10000dc08\nlea     r14, [rbp+var_48]                                              ; +0x2e, 0x10000dc0e\nmov     rdi, r14                                                       ; +0x32, 0x10000dc12\nmov     rsi, rax                                                       ; +0x35, 0x10000dc15\ncall    sub_1002782D0                                                  ; +0x38, 0x10000dc18\nmov     rax, [rbx+5A0h]                                                ; +0x3d, 0x10000dc1d\nmov     rdi, [rax+0F50h]                                               ; +0x44, 0x10000dc24\nmov     rax, [rdi]                                                     ; +0x4b, 0x10000dc2b\nlea     rsi, qword_100BE0DD8                                           ; +0x4e, 0x10000dc2e\ncall    qword ptr [rax+0B8h]                                           ; +0x55, 0x10000dc35\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x5b, 0x10000dc3b\nmov     rdi, rax                                                       ; +0x60, 0x10000dc40\ncall    sub_100479760                                                  ; +0x63, 0x10000dc43\nmovss   xmm1, dword ptr [rbx+354h]                                     ; +0x68, 0x10000dc48\nlea     rdi, [rbp+var_40]                                              ; +0x70, 0x10000dc50\ncall    sub_100278250                                                  ; +0x74, 0x10000dc54\nmov     rax, [rbx+5A0h]                                                ; +0x79, 0x10000dc59\nmov     r12, [rax+0F50h]                                               ; +0x80, 0x10000dc60\nxorps   xmm0, xmm0                                                     ; +0x87, 0x10000dc67\ncvtsi2ss xmm0, r15d                                                    ; +0x8a, 0x10000dc6a\nmulss   xmm0, cs:dword_100A035C4                                       ; +0x8f, 0x10000dc6f\naddss   xmm0, cs:dword_100A037D8                                       ; +0x97, 0x10000dc77\nlea     r15, [rbp+var_30]                                              ; +0x9f, 0x10000dc7f\nmovss   xmm1, cs:dword_100A03818                                       ; +0xa3, 0x10000dc83\nmov     rdi, r15                                                       ; +0xab, 0x10000dc8b\ncall    sub_100278250                                                  ; +0xae, 0x10000dc8e\nlea     r13, [rbp+var_38]                                              ; +0xb3, 0x10000dc93\nmov     rdi, r13                                                       ; +0xb7, 0x10000dc97\nmov     rsi, r12                                                       ; +0xba, 0x10000dc9a\nmov     rdx, r15                                                       ; +0xbd, 0x10000dc9d\ncall    cocos2d__CCNode__convertToWorldSpace                           ; +0xc0, 0x10000dca0\nmov     rsi, [rbx+5A0h]                                                ; +0xc5, 0x10000dca5\nmov     rdi, r15                                                       ; +0xcc, 0x10000dcac\nmov     rdx, r13                                                       ; +0xcf, 0x10000dcaf\ncall    cocos2d__CCNode__convertToNodeSpace                            ; +0xd2, 0x10000dcb2\nmov     rdi, r13                                                       ; +0xd7, 0x10000dcb7\nmov     rsi, r15                                                       ; +0xda, 0x10000dcba\ncall    sub_100278300                                                  ; +0xdd, 0x10000dcbd\nmov     rax, [rbx+5A0h]                                                ; +0xe2, 0x10000dcc2\nmov     rdi, [rax+0F50h]                                               ; +0xe9, 0x10000dcc9\nmov     rax, [rdi]                                                     ; +0xf0, 0x10000dcd0\nmov     rsi, r14                                                       ; +0xf3, 0x10000dcd3\ncall    qword ptr [rax+0B8h]                                           ; +0xf6, 0x10000dcd6\nmovss   xmm0, [rbp+var_40]                                             ; +0xfc, 0x10000dcdc\nsubss   xmm0, [rbp+var_38]                                             ; +0x101, 0x10000dce1\nadd     rsp, 28h                                                       ; +0x106, 0x10000dce6\npop     rbx                                                            ; +0x10a, 0x10000dcea\npop     r12                                                            ; +0x10b, 0x10000dceb\npop     r13                                                            ; +0x10d, 0x10000dced\npop     r14                                                            ; +0x10f, 0x10000dcef\npop     r15                                                            ; +0x111, 0x10000dcf1\npop     rbp                                                            ; +0x113, 0x10000dcf3\nretn                                                                   ; +0x114, 0x10000dcf4", "xrefs": ["EditorUI::init @ 0x10000680b", "EditorUI::sliderChanged @ 0x100007be0", "EditorUI::updateSlider @ 0x100009231", "EditorUI::xPosFromValue @ 0x10000db53", "EditorUI::valueFromXPos @ 0x10000dd13", "EditorUI::centerCameraOnObject @ 0x1000104e7", "EditorUI::onCreateObject @ 0x100011533", "EditorUI::updateZoom @ 0x100012203"], "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"}