{"type": "func", "start": 4295159728, "end": 4295160005, "name": "EditorUI::getXMin", "pseudocode": "// \n// EditorUI::getXMin from 0x10002efb0 to 0x10002f0c5 (277 bytes)\n// \n// 8 xrefs:\n// > EditorUI::init @ 0x10000a6ac\n// > EditorUI::sliderChanged @ 0x10000b720\n// > EditorUI::updateSlider @ 0x10002ab31\n// > EditorUI::xPosFromValue @ 0x10002ef23\n// > EditorUI::valueFromXPos @ 0x10002f0e3\n// > EditorUI::onCreateObject @ 0x100035383\n// > EditorUI::updateZoom @ 0x10003db32\n// > EditorUI::scrollWheel @ 0x100051826\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nfloat __fastcall EditorUI::getXMin(EditorUI *a1, int a2)\n{\n  __int64 v3; // rax\n  double v4; // xmm0_8\n  cocos2d::CCDirector *v5; // rax\n  cocos2d::CCLayer *m_objectLayer; // r12\n  _BYTE v8[8]; // [rsp+8h] [rbp-48h] BYREF\n  float v9; // [rsp+10h] [rbp-40h] BYREF\n  float v10; // [rsp+18h] [rbp-38h] BYREF\n  _BYTE v11[48]; // [rsp+20h] [rbp-30h] BYREF\n  double v12; // 0:xmm0_8.8\n\n  v3 = ((__int64 (__fastcall *)(cocos2d::CCLayer *))a1->m_editorLayer->m_objectLayer->getPosition)(a1->m_editorLayer->m_objectLayer);\n  v4 = sub_10028CC60(v8, v3);\n  ((void (__fastcall *)(cocos2d::CCLayer *, __int64 *, double))a1->m_editorLayer->m_objectLayer->setPosition)(\n    a1->m_editorLayer->m_objectLayer,\n    &qword_10099EC08,\n    v4);\n  v5 = cocos2d::CCDirector::sharedDirector();\n  *(float *)&v4 = sub_100484D90(v5);\n  sub_10028CBE0(&v9, *(float *)&v4, a1->m_constrainedHeight);\n  m_objectLayer = a1->m_editorLayer->m_objectLayer;\n  sub_10028CBE0(v11, (float)((float)a2 * 30.0) + -30.0, 60.0);\n  cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)&v10, (const cocos2d::CCPoint *)m_objectLayer);\n  *(cocos2d::CCPoint *)&v12 = cocos2d::CCNode::convertToNodeSpace(\n                                (cocos2d::CCNode *)v11,\n                                (const cocos2d::CCPoint *)a1->m_editorLayer);\n  sub_10028CC90(&v10, v11);\n  ((void (__fastcall *)(cocos2d::CCLayer *, _BYTE *, double))a1->m_editorLayer->m_objectLayer->setPosition)(\n    a1->m_editorLayer->m_objectLayer,\n    v8,\n    v12);\n  return v9 - v10;\n}", "assembly": "; \n; EditorUI::getXMin from 0x10002efb0 to 0x10002f0c5 (277 bytes)\n; \n; 8 xrefs:\n; > EditorUI::init @ 0x10000a6ac\n; > EditorUI::sliderChanged @ 0x10000b720\n; > EditorUI::updateSlider @ 0x10002ab31\n; > EditorUI::xPosFromValue @ 0x10002ef23\n; > EditorUI::valueFromXPos @ 0x10002f0e3\n; > EditorUI::onCreateObject @ 0x100035383\n; > EditorUI::updateZoom @ 0x10003db32\n; > EditorUI::scrollWheel @ 0x100051826\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x10002efb0\nmov     rbp, rsp                                                       ; +0x1, 0x10002efb1\npush    r15                                                            ; +0x4, 0x10002efb4\npush    r14                                                            ; +0x6, 0x10002efb6\npush    r13                                                            ; +0x8, 0x10002efb8\npush    r12                                                            ; +0xa, 0x10002efba\npush    rbx                                                            ; +0xc, 0x10002efbc\nsub     rsp, 28h                                                       ; +0xd, 0x10002efbd\nmov     r15d, esi                                                      ; +0x11, 0x10002efc1\nmov     rbx, rdi                                                       ; +0x14, 0x10002efc4\nmov     rax, [rdi+4E8h]                                                ; +0x17, 0x10002efc7\nmov     rdi, [rax+0EB8h]                                               ; +0x1e, 0x10002efce\nmov     rax, [rdi]                                                     ; +0x25, 0x10002efd5\ncall    qword ptr [rax+0C0h]                                           ; +0x28, 0x10002efd8\nlea     r14, [rbp+var_48]                                              ; +0x2e, 0x10002efde\nmov     rdi, r14                                                       ; +0x32, 0x10002efe2\nmov     rsi, rax                                                       ; +0x35, 0x10002efe5\ncall    sub_10028CC60                                                  ; +0x38, 0x10002efe8\nmov     rax, [rbx+4E8h]                                                ; +0x3d, 0x10002efed\nmov     rdi, [rax+0EB8h]                                               ; +0x44, 0x10002eff4\nmov     rax, [rdi]                                                     ; +0x4b, 0x10002effb\nlea     rsi, qword_10099EC08                                           ; +0x4e, 0x10002effe\ncall    qword ptr [rax+0B8h]                                           ; +0x55, 0x10002f005\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x5b, 0x10002f00b\nmov     rdi, rax                                                       ; +0x60, 0x10002f010\ncall    sub_100484D90                                                  ; +0x63, 0x10002f013\nmovss   xmm1, dword ptr [rbx+2FCh]                                     ; +0x68, 0x10002f018\nlea     rdi, [rbp+var_40]                                              ; +0x70, 0x10002f020\ncall    sub_10028CBE0                                                  ; +0x74, 0x10002f024\nmov     rax, [rbx+4E8h]                                                ; +0x79, 0x10002f029\nmov     r12, [rax+0EB8h]                                               ; +0x80, 0x10002f030\nxorps   xmm0, xmm0                                                     ; +0x87, 0x10002f037\ncvtsi2ss xmm0, r15d                                                    ; +0x8a, 0x10002f03a\nmulss   xmm0, cs:dword_100814FD0                                       ; +0x8f, 0x10002f03f\naddss   xmm0, cs:dword_100814FF4                                       ; +0x97, 0x10002f047\nlea     r15, [rbp+var_30]                                              ; +0x9f, 0x10002f04f\nmovss   xmm1, cs:dword_100815028                                       ; +0xa3, 0x10002f053\nmov     rdi, r15                                                       ; +0xab, 0x10002f05b\ncall    sub_10028CBE0                                                  ; +0xae, 0x10002f05e\nlea     r13, [rbp+var_38]                                              ; +0xb3, 0x10002f063\nmov     rdi, r13                                                       ; +0xb7, 0x10002f067\nmov     rsi, r12                                                       ; +0xba, 0x10002f06a\nmov     rdx, r15                                                       ; +0xbd, 0x10002f06d\ncall    cocos2d__CCNode__convertToWorldSpace                           ; +0xc0, 0x10002f070\nmov     rsi, [rbx+4E8h]                                                ; +0xc5, 0x10002f075\nmov     rdi, r15                                                       ; +0xcc, 0x10002f07c\nmov     rdx, r13                                                       ; +0xcf, 0x10002f07f\ncall    cocos2d__CCNode__convertToNodeSpace                            ; +0xd2, 0x10002f082\nmov     rdi, r13                                                       ; +0xd7, 0x10002f087\nmov     rsi, r15                                                       ; +0xda, 0x10002f08a\ncall    sub_10028CC90                                                  ; +0xdd, 0x10002f08d\nmov     rax, [rbx+4E8h]                                                ; +0xe2, 0x10002f092\nmov     rdi, [rax+0EB8h]                                               ; +0xe9, 0x10002f099\nmov     rax, [rdi]                                                     ; +0xf0, 0x10002f0a0\nmov     rsi, r14                                                       ; +0xf3, 0x10002f0a3\ncall    qword ptr [rax+0B8h]                                           ; +0xf6, 0x10002f0a6\nmovss   xmm0, [rbp+var_40]                                             ; +0xfc, 0x10002f0ac\nsubss   xmm0, [rbp+var_38]                                             ; +0x101, 0x10002f0b1\nadd     rsp, 28h                                                       ; +0x106, 0x10002f0b6\npop     rbx                                                            ; +0x10a, 0x10002f0ba\npop     r12                                                            ; +0x10b, 0x10002f0bb\npop     r13                                                            ; +0x10d, 0x10002f0bd\npop     r14                                                            ; +0x10f, 0x10002f0bf\npop     r15                                                            ; +0x111, 0x10002f0c1\npop     rbp                                                            ; +0x113, 0x10002f0c3\nretn                                                                   ; +0x114, 0x10002f0c4", "xrefs": ["EditorUI::init @ 0x10000a6ac", "EditorUI::sliderChanged @ 0x10000b720", "EditorUI::updateSlider @ 0x10002ab31", "EditorUI::xPosFromValue @ 0x10002ef23", "EditorUI::valueFromXPos @ 0x10002f0e3", "EditorUI::onCreateObject @ 0x100035383", "EditorUI::updateZoom @ 0x10003db32", "EditorUI::scrollWheel @ 0x100051826"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}