//
// EditorUI::draw from 0x10001a280 to 0x10001a2eb (107 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ab4f08
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:18:56 +0000
//
__int64 __fastcall EditorUI::draw(__int64 a1)
{
__int64 result; // rax
__int64 v2; // [rsp-30h] [rbp-30h] BYREF
_BYTE v3[40]; // [rsp-28h] [rbp-28h] BYREF
if ( *(_BYTE *)(a1 + 861) == 1 )
{
cocos2d::ccDrawColor4B(0, 255, 0, 255);
sub_1002782D0(&v2, a1 + 1448);
sub_1002782D0(v3, a1 + 1456);
return cocos2d::ccDrawRect(&v2, v3);
}
return result;
}