{"type": "func", "start": 4295074432, "end": 4295074539, "name": "EditorUI::draw", "pseudocode": "// \n// EditorUI::draw from 0x10001a280 to 0x10001a2eb (107 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100ab4f08\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 12:18:56 +0000\n// \n\n__int64 __fastcall EditorUI::draw(__int64 a1)\n{\n  __int64 result; // rax\n  __int64 v2; // [rsp-30h] [rbp-30h] BYREF\n  _BYTE v3[40]; // [rsp-28h] [rbp-28h] BYREF\n\n  if ( *(_BYTE *)(a1 + 861) == 1 )\n  {\n    cocos2d::ccDrawColor4B(0, 255, 0, 255);\n    sub_1002782D0(&v2, a1 + 1448);\n    sub_1002782D0(v3, a1 + 1456);\n    return cocos2d::ccDrawRect(&v2, v3);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::draw from 0x10001a280 to 0x10001a2eb (107 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100ab4f08\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 12:18:56 +0000\n; \ncmp     byte ptr [rdi+35Dh], 1                                         ; +0x0, 0x10001a280\njnz     short locret_10001A2EA                                         ; +0x7, 0x10001a287\npush    rbp                                                            ; +0x9, 0x10001a289\nmov     rbp, rsp                                                       ; +0xa, 0x10001a28a\npush    r15                                                            ; +0xd, 0x10001a28d\npush    r14                                                            ; +0xf, 0x10001a28f\npush    rbx                                                            ; +0x11, 0x10001a291\nsub     rsp, 18h                                                       ; +0x12, 0x10001a292\nmov     rbx, rdi                                                       ; +0x16, 0x10001a296\nxor     edi, edi                                                       ; +0x19, 0x10001a299\nmov     esi, 0FFh                                                      ; +0x1b, 0x10001a29b\nxor     edx, edx                                                       ; +0x20, 0x10001a2a0\nmov     ecx, 0FFh                                                      ; +0x22, 0x10001a2a2\ncall    cocos2d__ccDrawColor4B                                         ; +0x27, 0x10001a2a7\nlea     rsi, [rbx+5A8h]                                                ; +0x2c, 0x10001a2ac\nlea     r14, [rbp-28h]                                                 ; +0x33, 0x10001a2b3\nmov     rdi, r14                                                       ; +0x37, 0x10001a2b7\ncall    sub_1002782D0                                                  ; +0x3a, 0x10001a2ba\nadd     rbx, 5B0h                                                      ; +0x3f, 0x10001a2bf\nlea     r15, [rbp-20h]                                                 ; +0x46, 0x10001a2c6\nmov     rdi, r15                                                       ; +0x4a, 0x10001a2ca\nmov     rsi, rbx                                                       ; +0x4d, 0x10001a2cd\ncall    sub_1002782D0                                                  ; +0x50, 0x10001a2d0\nmov     rdi, r14                                                       ; +0x55, 0x10001a2d5\nmov     rsi, r15                                                       ; +0x58, 0x10001a2d8\ncall    cocos2d__ccDrawRect                                            ; +0x5b, 0x10001a2db\nadd     rsp, 18h                                                       ; +0x60, 0x10001a2e0\npop     rbx                                                            ; +0x64, 0x10001a2e4\npop     r14                                                            ; +0x65, 0x10001a2e5\npop     r15                                                            ; +0x67, 0x10001a2e7\npop     rbp                                                            ; +0x69, 0x10001a2e9\nretn                                                                   ; +0x6a, 0x10001a2ea", "xrefs": ["<???> @ 0x100ab4f08"], "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"}