{"type": "func", "start": 4295287840, "end": 4295287947, "name": "EditorUI::draw", "pseudocode": "// \n// EditorUI::draw from 0x10004e420 to 0x10004e48b (107 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008b03e0\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 __fastcall EditorUI::draw(EditorUI *a1)\n{\n  cocos2d::CCPoint v1; // xmm1_8\n  cocos2d::CCPoint v2; // xmm0_8\n  __int64 v3; // [rsp-30h] [rbp-30h] BYREF\n  __int64 v4; // [rsp-28h] [rbp-28h] BYREF\n\n  if ( a1->m_swipeActive )\n  {\n    cocos2d::ccDrawColor4B(0, 0xFFu, 0, 0xFFu);\n    sub_10028CC60(&v3);\n    *(double *)&v2 = sub_10028CC60(&v4);\n    cocos2d::ccDrawRect(v2, v1);\n  }\n}", "assembly": "; \n; EditorUI::draw from 0x10004e420 to 0x10004e48b (107 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008b03e0\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\ncmp     byte ptr [rdi+305h], 1                                         ; +0x0, 0x10004e420\njnz     short locret_10004E48A                                         ; +0x7, 0x10004e427\npush    rbp                                                            ; +0x9, 0x10004e429\nmov     rbp, rsp                                                       ; +0xa, 0x10004e42a\npush    r15                                                            ; +0xd, 0x10004e42d\npush    r14                                                            ; +0xf, 0x10004e42f\npush    rbx                                                            ; +0x11, 0x10004e431\nsub     rsp, 18h                                                       ; +0x12, 0x10004e432\nmov     rbx, rdi                                                       ; +0x16, 0x10004e436\nxor     edi, edi                                                       ; +0x19, 0x10004e439\nmov     esi, 0FFh                                                      ; +0x1b, 0x10004e43b\nxor     edx, edx                                                       ; +0x20, 0x10004e440\nmov     ecx, 0FFh                                                      ; +0x22, 0x10004e442\ncall    cocos2d__ccDrawColor4B                                         ; +0x27, 0x10004e447\nlea     rsi, [rbx+4F0h]                                                ; +0x2c, 0x10004e44c\nlea     r14, [rbp-28h]                                                 ; +0x33, 0x10004e453\nmov     rdi, r14                                                       ; +0x37, 0x10004e457\ncall    sub_10028CC60                                                  ; +0x3a, 0x10004e45a\nadd     rbx, 4F8h                                                      ; +0x3f, 0x10004e45f\nlea     r15, [rbp-20h]                                                 ; +0x46, 0x10004e466\nmov     rdi, r15                                                       ; +0x4a, 0x10004e46a\nmov     rsi, rbx                                                       ; +0x4d, 0x10004e46d\ncall    sub_10028CC60                                                  ; +0x50, 0x10004e470\nmov     rdi, r14                                                       ; +0x55, 0x10004e475\nmov     rsi, r15                                                       ; +0x58, 0x10004e478\ncall    cocos2d__ccDrawRect                                            ; +0x5b, 0x10004e47b\nadd     rsp, 18h                                                       ; +0x60, 0x10004e480\npop     rbx                                                            ; +0x64, 0x10004e484\npop     r14                                                            ; +0x65, 0x10004e485\npop     r15                                                            ; +0x67, 0x10004e487\npop     rbp                                                            ; +0x69, 0x10004e489\nretn                                                                   ; +0x6a, 0x10004e48a", "xrefs": ["<???> @ 0x1008b03e0"], "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"}