{"type": "func", "start": 5370540656, "end": 5370540932, "name": "EditorUI::getXMin", "pseudocode": "// \n// EditorUI::getXMin from 0x1401bf270 to 0x1401bf384 (276 bytes)\n// \n// 3 xrefs:\n// > EditorUI::sliderChanged @ 0x1401ae03f\n// > EditorUI::updateSlider @ 0x1401ae130\n// > <???> @ 0x14091a588\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:28:02 +0000\n// \n\nfloat __fastcall EditorUI::getXMin(__int64 a1)\n{\n  const struct cocos2d::CCPoint *v2; // rax\n  float v3; // xmm6_4\n  __int64 v4; // rcx\n  cocos2d::CCDirector *v5; // rax\n  float ScreenLeft; // xmm0_4\n  __int64 v7; // rbx\n  __int64 v8; // rax\n  __int64 v9; // rax\n  _BYTE v11[16]; // [rsp+20h] [rbp-28h] BYREF\n  float v12; // [rsp+50h] [rbp+8h] BYREF\n  char v13; // [rsp+60h] [rbp+18h] BYREF\n  float v14; // [rsp+68h] [rbp+20h] BYREF\n\n  v2 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 1512) + 4296LL)\n                                                                          + 200LL))(*(_QWORD *)(*(_QWORD *)(a1 + 1512)\n                                                                                              + 4296LL));\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, v2);\n  (*(void (__fastcall **)(_QWORD, int *))(**(_QWORD **)(*(_QWORD *)(a1 + 1512) + 4296LL) + 184LL))(\n    *(_QWORD *)(*(_QWORD *)(a1 + 1512) + 4296LL),\n    &dword_14090A6E8);\n  v3 = *(float *)(a1 + 900);\n  v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4);\n  ScreenLeft = cocos2d::CCDirector::getScreenLeft(v5);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v14, ScreenLeft, v3);\n  v7 = *(_QWORD *)(*(_QWORD *)(a1 + 1512) + 4296LL);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, -30.0, 60.0);\n  cocos2d::CCNode::convertToWorldSpace(v7, &v12, v8);\n  cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 1512), v11, &v12);\n  cocos2d::CCPoint::operator=(&v12, v9);\n  (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(*(_QWORD *)(a1 + 1512) + 4296LL) + 184LL))(\n    *(_QWORD *)(*(_QWORD *)(a1 + 1512) + 4296LL),\n    &v13);\n  return v14 - v12;\n}", "assembly": "; \n; EditorUI::getXMin from 0x1401bf270 to 0x1401bf384 (276 bytes)\n; \n; 3 xrefs:\n; > EditorUI::sliderChanged @ 0x1401ae03f\n; > EditorUI::updateSlider @ 0x1401ae130\n; > <???> @ 0x14091a588\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:28:02 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1401bf270\npush    rdi                                                            ; +0x5, 0x1401bf275\nsub     rsp, 40h                                                       ; +0x6, 0x1401bf276\nmov     rax, [rcx+5E8h]                                                ; +0xa, 0x1401bf27a\nmov     rdi, rcx                                                       ; +0x11, 0x1401bf281\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x14, 0x1401bf284\nmov     rcx, [rax+10C8h]                                               ; +0x19, 0x1401bf289\nmov     rax, [rcx]                                                     ; +0x20, 0x1401bf290\ncall    qword ptr [rax+0C8h]                                           ; +0x23, 0x1401bf293\nmov     rdx, rax                                                       ; +0x29, 0x1401bf299\nlea     rcx, [rsp+48h+arg_10]                                          ; +0x2c, 0x1401bf29c\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x31, 0x1401bf2a1\nmov     rax, [rdi+5E8h]                                                ; +0x37, 0x1401bf2a7\nlea     rdx, dword_14090A6E8                                           ; +0x3e, 0x1401bf2ae\nmov     rcx, [rax+10C8h]                                               ; +0x45, 0x1401bf2b5\nmov     rax, [rcx]                                                     ; +0x4c, 0x1401bf2bc\ncall    qword ptr [rax+0B8h]                                           ; +0x4f, 0x1401bf2bf\nmovss   xmm6, dword ptr [rdi+384h]                                     ; +0x55, 0x1401bf2c5\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x5d, 0x1401bf2cd\nmov     rcx, rax                                                       ; +0x63, 0x1401bf2d3\ncall    cs:?getScreenLeft@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getScreenLeft(void) ; +0x66, 0x1401bf2d6\nmovaps  xmm2, xmm6                                                     ; +0x6c, 0x1401bf2dc\nlea     rcx, [rsp+48h+arg_18]                                          ; +0x6f, 0x1401bf2df\nmovaps  xmm1, xmm0                                                     ; +0x74, 0x1401bf2e4\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x77, 0x1401bf2e7\nmov     rax, [rdi+5E8h]                                                ; +0x7d, 0x1401bf2ed\nlea     rcx, [rsp+48h+var_28]                                          ; +0x84, 0x1401bf2f4\nmovss   xmm2, cs:dword_1408356E4                                       ; +0x89, 0x1401bf2f9\nmovss   xmm1, cs:dword_140835E88                                       ; +0x91, 0x1401bf301\nmov     rbx, [rax+10C8h]                                               ; +0x99, 0x1401bf309\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xa0, 0x1401bf310\nlea     rdx, [rsp+48h+arg_0]                                           ; +0xa6, 0x1401bf316\nmov     rcx, rbx                                                       ; +0xab, 0x1401bf31b\nmov     r8, rax                                                        ; +0xae, 0x1401bf31e\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0xb1, 0x1401bf321\nmov     rcx, [rdi+5E8h]                                                ; +0xb7, 0x1401bf327\nlea     r8, [rsp+48h+arg_0]                                            ; +0xbe, 0x1401bf32e\nlea     rdx, [rsp+48h+var_28]                                          ; +0xc3, 0x1401bf333\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0xc8, 0x1401bf338\nmov     rdx, rax                                                       ; +0xce, 0x1401bf33e\nlea     rcx, [rsp+48h+arg_0]                                           ; +0xd1, 0x1401bf341\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xd6, 0x1401bf346\nmov     rax, [rdi+5E8h]                                                ; +0xdc, 0x1401bf34c\nlea     rdx, [rsp+48h+arg_10]                                          ; +0xe3, 0x1401bf353\nmov     rcx, [rax+10C8h]                                               ; +0xe8, 0x1401bf358\nmov     rax, [rcx]                                                     ; +0xef, 0x1401bf35f\ncall    qword ptr [rax+0B8h]                                           ; +0xf2, 0x1401bf362\nmovss   xmm0, [rsp+48h+arg_18]                                         ; +0xf8, 0x1401bf368\nsubss   xmm0, [rsp+48h+arg_0]                                          ; +0xfe, 0x1401bf36e\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x104, 0x1401bf374\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x109, 0x1401bf379\nadd     rsp, 40h                                                       ; +0x10e, 0x1401bf37e\npop     rdi                                                            ; +0x112, 0x1401bf382\nretn                                                                   ; +0x113, 0x1401bf383", "xrefs": ["EditorUI::sliderChanged @ 0x1401ae03f", "EditorUI::updateSlider @ 0x1401ae130", "<???> @ 0x14091a588"], "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"}