{"type": "func", "start": 8127696, "end": 8127844, "name": "EditorUI::draw", "pseudocode": "// \n// EditorUI::draw from 0x7c04d0 to 0x7c0564 (148 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x60958\n// > <???> @ 0x1437058\n// \n// This function is hookable on this platform (idp: arm, 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:54:06 +0000\n// \n\n__int64 __fastcall EditorUI::draw(EditorUI *this, __int64 a2, __int64 a3, __int64 a4, unsigned __int8 a5)\n{\n  _BYTE v7[8]; // [xsp+38h] [xbp+38h] BYREF\n  _BYTE v8[8]; // [xsp+40h] [xbp+40h] BYREF\n\n  if ( *((_BYTE *)this + 861) )\n  {\n    cocos2d::ccDrawColor4B(nullptr, 0xFFu, 0, 0xFFu, a5);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, (EditorUI *)((char *)this + 1448));\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, (EditorUI *)((char *)this + 1456));\n    cocos2d::ccDrawRect(v7, v8);\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; EditorUI::draw from 0x7c04d0 to 0x7c0564 (148 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x60958\n; > <???> @ 0x1437058\n; \n; This function is hookable on this platform (idp: arm, 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:54:06 +0000\n; \nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0x7c04d0\nMOV             X29, SP                                                ; +0x4, 0x7c04d4\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x8, 0x7c04d8\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x7c04dc\nMOV             X20, X0                                                ; +0x10, 0x7c04e0\nSTP             X21, X22, [SP,#0x50+var_30]                            ; +0x14, 0x7c04e4\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0x7c04e8\nLDRB            W0, [X0,#0x35D]                                        ; +0x1c, 0x7c04ec\nLDR             X1, [X1]                                               ; +0x20, 0x7c04f0\nSTR             X1, [X29,#0x50+var_8]                                  ; +0x24, 0x7c04f4\nCBZ             W0, loc_7C053C                                         ; +0x28, 0x7c04f8\nMOV             W1, #0xFFFFFFFF; unsigned __int8                       ; +0x2c, 0x7c04fc\nMOV             W2, #0; unsigned __int8                                ; +0x30, 0x7c0500\nMOV             W3, W1; unsigned __int8                                ; +0x34, 0x7c0504\nMOV             W0, #0; this                                           ; +0x38, 0x7c0508\nADD             X22, X29, #0x50+var_18                                 ; +0x3c, 0x7c050c\nADD             X21, X29, #0x50+var_10                                 ; +0x40, 0x7c0510\nBL              _ZN7cocos2d13ccDrawColor4BEhhhh; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x44, 0x7c0514\nMOV             X0, X22; this                                          ; +0x48, 0x7c0518\nADD             X1, X20, #0x5A8; cocos2d::CCPoint *                    ; +0x4c, 0x7c051c\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x50, 0x7c0520\nMOV             X0, X21; this                                          ; +0x54, 0x7c0524\nADD             X1, X20, #0x5B0; cocos2d::CCPoint *                    ; +0x58, 0x7c0528\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x5c, 0x7c052c\nMOV             X0, X22                                                ; +0x60, 0x7c0530\nMOV             X1, X21                                                ; +0x64, 0x7c0534\nBL              _ZN7cocos2d10ccDrawRectENS_7CCPointES0_; cocos2d::ccDrawRect(cocos2d::CCPoint,cocos2d::CCPoint) ; +0x68, 0x7c0538\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x6c, 0x7c053c\nLDR             X1, [X29,#0x50+var_8]                                  ; +0x70, 0x7c0540\nLDR             X0, [X19]                                              ; +0x74, 0x7c0544\nCMP             X1, X0                                                 ; +0x78, 0x7c0548\nB.NE            loc_7C0560                                             ; +0x7c, 0x7c054c\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x80, 0x7c0550\nLDP             X21, X22, [SP,#0x50+var_30]                            ; +0x84, 0x7c0554\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x88, 0x7c0558\nRET                                                                    ; +0x8c, 0x7c055c\nBL              .__stack_chk_fail                                      ; +0x90, 0x7c0560", "xrefs": ["<???> @ 0x60958", "<???> @ 0x1437058"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}