{"type": "func", "start": 5370540944, "end": 5370541047, "name": "EditorUI::draw", "pseudocode": "// \n// EditorUI::draw from 0x1401bf390 to 0x1401bf3f7 (103 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x140751530\n// > <???> @ 0x1408a2554\n// > <???> @ 0x1408a2564\n// > <???> @ 0x14091a594\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\nvoid __fastcall EditorUI::draw(_BYTE *a1)\n{\n  __int64 v2; // rax\n  __int64 v3; // rbx\n  __int64 v4; // rax\n  char v5; // [rsp+30h] [rbp+8h] BYREF\n  char v6; // [rsp+38h] [rbp+10h] BYREF\n\n  if ( a1[909] )\n  {\n    cocos2d::ccDrawColor4B(nullptr, 0xFFu, 0, 0xFFu);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v5, (const struct cocos2d::CCPoint *)(a1 + 1528));\n    v3 = v2;\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v6, (const struct cocos2d::CCPoint *)(a1 + 1520));\n    cocos2d::ccDrawRect(v4, v3);\n  }\n}", "assembly": "; \n; EditorUI::draw from 0x1401bf390 to 0x1401bf3f7 (103 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x140751530\n; > <???> @ 0x1408a2554\n; > <???> @ 0x1408a2564\n; > <???> @ 0x14091a594\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; \npush    rdi                                                            ; +0x0, 0x1401bf390\nsub     rsp, 20h                                                       ; +0x2, 0x1401bf392\ncmp     byte ptr [rcx+38Dh], 0                                         ; +0x6, 0x1401bf396\nmov     rdi, rcx                                                       ; +0xd, 0x1401bf39d\njz      short loc_1401BF3F1                                            ; +0x10, 0x1401bf3a0\nmov     r9b, 0FFh                                                      ; +0x12, 0x1401bf3a2\nmov     [rsp+28h+arg_10], rbx                                          ; +0x15, 0x1401bf3a5\nmovzx   edx, r9b                                                       ; +0x1a, 0x1401bf3aa\nxor     r8d, r8d                                                       ; +0x1e, 0x1401bf3ae\nxor     ecx, ecx                                                       ; +0x21, 0x1401bf3b1\ncall    cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x23, 0x1401bf3b3\nlea     rdx, [rdi+5F8h]                                                ; +0x29, 0x1401bf3b9\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x30, 0x1401bf3c0\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x35, 0x1401bf3c5\nlea     rdx, [rdi+5F0h]                                                ; +0x3b, 0x1401bf3cb\nmov     rbx, rax                                                       ; +0x42, 0x1401bf3d2\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x45, 0x1401bf3d5\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x4a, 0x1401bf3da\nmov     rcx, rax                                                       ; +0x50, 0x1401bf3e0\nmov     rdx, rbx                                                       ; +0x53, 0x1401bf3e3\ncall    cs:?ccDrawRect@cocos2d@@YAXVCCPoint@1@0@Z; cocos2d::ccDrawRect(cocos2d::CCPoint,cocos2d::CCPoint) ; +0x56, 0x1401bf3e6\nmov     rbx, [rsp+28h+arg_10]                                          ; +0x5c, 0x1401bf3ec\nadd     rsp, 20h                                                       ; +0x61, 0x1401bf3f1\npop     rdi                                                            ; +0x65, 0x1401bf3f5\nretn                                                                   ; +0x66, 0x1401bf3f6", "xrefs": ["<???> @ 0x140751530", "<???> @ 0x1408a2554", "<???> @ 0x1408a2564", "<???> @ 0x14091a594"], "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"}