{"type": "func", "start": 5369900240, "end": 5369900343, "name": "EditorUI::draw", "pseudocode": "// \n// EditorUI::draw from 0x140122cd0 to 0x140122d37 (103 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x140552a90\n// > <???> @ 0x140670470\n// > <???> @ 0x140670480\n// > <???> @ 0x1406c987c\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\nvoid EditorUI::draw(EditorUI *a1)\n{\n  struct cocos2d::CCPoint v1; // rax\n  struct cocos2d::CCPoint v2; // rbx\n  cocos2d *v3; // rax\n  struct cocos2d::CCPoint v4; // r8\n  cocos2d::CCPoint v5; // [rsp+30h] [rbp+8h] BYREF\n  cocos2d::CCPoint v6; // [rsp+38h] [rbp+10h] BYREF\n\n  if ( a1->m_swipeActive )\n  {\n    cocos2d::ccDrawColor4B(nullptr, 0xFFu, 0, 0xFFu);\n    cocos2d::CCPoint::CCPoint(&v5);\n    v2 = v1;\n    cocos2d::CCPoint::CCPoint(&v6);\n    cocos2d::ccDrawRect(v3, v2, v4);\n  }\n}", "assembly": "; \n; EditorUI::draw from 0x140122cd0 to 0x140122d37 (103 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x140552a90\n; > <???> @ 0x140670470\n; > <???> @ 0x140670480\n; > <???> @ 0x1406c987c\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    rdi                                                            ; +0x0, 0x140122cd0\nsub     rsp, 20h                                                       ; +0x2, 0x140122cd2\ncmp     byte ptr [rcx+31Dh], 0                                         ; +0x6, 0x140122cd6\nmov     rdi, rcx                                                       ; +0xd, 0x140122cdd\njz      short loc_140122D31                                            ; +0x10, 0x140122ce0\nmov     r9b, 0FFh                                                      ; +0x12, 0x140122ce2\nmov     [rsp+28h+arg_10], rbx                                          ; +0x15, 0x140122ce5\nmovzx   edx, r9b                                                       ; +0x1a, 0x140122cea\nxor     r8d, r8d                                                       ; +0x1e, 0x140122cee\nxor     ecx, ecx                                                       ; +0x21, 0x140122cf1\ncall    cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x23, 0x140122cf3\nlea     rdx, [rdi+510h]                                                ; +0x29, 0x140122cf9\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x30, 0x140122d00\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x35, 0x140122d05\nlea     rdx, [rdi+508h]                                                ; +0x3b, 0x140122d0b\nmov     rbx, rax                                                       ; +0x42, 0x140122d12\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x45, 0x140122d15\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x4a, 0x140122d1a\nmov     rcx, rax                                                       ; +0x50, 0x140122d20\nmov     rdx, rbx                                                       ; +0x53, 0x140122d23\ncall    cs:?ccDrawRect@cocos2d@@YAXVCCPoint@1@0@Z; cocos2d::ccDrawRect(cocos2d::CCPoint,cocos2d::CCPoint) ; +0x56, 0x140122d26\nmov     rbx, [rsp+28h+arg_10]                                          ; +0x5c, 0x140122d2c\nadd     rsp, 20h                                                       ; +0x61, 0x140122d31\npop     rdi                                                            ; +0x65, 0x140122d35\nretn                                                                   ; +0x66, 0x140122d36", "xrefs": ["<???> @ 0x140552a90", "<???> @ 0x140670470", "<???> @ 0x140670480", "<???> @ 0x1406c987c"], "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"}