//
// EditorUI::getXMin from 0x1401bf270 to 0x1401bf384 (276 bytes)
//
// 3 xrefs:
// > EditorUI::sliderChanged @ 0x1401ae03f
// > EditorUI::updateSlider @ 0x1401ae130
// > ??> @ 0x14091a588
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:28:02 +0000
//
float __fastcall EditorUI::getXMin(__int64 a1)
{
const struct cocos2d::CCPoint *v2; // rax
float v3; // xmm6_4
__int64 v4; // rcx
cocos2d::CCDirector *v5; // rax
float ScreenLeft; // xmm0_4
__int64 v7; // rbx
__int64 v8; // rax
__int64 v9; // rax
_BYTE v11[16]; // [rsp+20h] [rbp-28h] BYREF
float v12; // [rsp+50h] [rbp+8h] BYREF
char v13; // [rsp+60h] [rbp+18h] BYREF
float v14; // [rsp+68h] [rbp+20h] BYREF
v2 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 1512) + 4296LL)
+ 200LL))(*(_QWORD *)(*(_QWORD *)(a1 + 1512)
+ 4296LL));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, v2);
(*(void (__fastcall **)(_QWORD, int *))(**(_QWORD **)(*(_QWORD *)(a1 + 1512) + 4296LL) + 184LL))(
*(_QWORD *)(*(_QWORD *)(a1 + 1512) + 4296LL),
&dword_14090A6E8);
v3 = *(float *)(a1 + 900);
v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4);
ScreenLeft = cocos2d::CCDirector::getScreenLeft(v5);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v14, ScreenLeft, v3);
v7 = *(_QWORD *)(*(_QWORD *)(a1 + 1512) + 4296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, -30.0, 60.0);
cocos2d::CCNode::convertToWorldSpace(v7, &v12, v8);
cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 1512), v11, &v12);
cocos2d::CCPoint::operator=(&v12, v9);
(*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(*(_QWORD *)(a1 + 1512) + 4296LL) + 184LL))(
*(_QWORD *)(*(_QWORD *)(a1 + 1512) + 4296LL),
&v13);
return v14 - v12;
}