//
// LevelCell::draw from 0x10023aee0 to 0x10023afaf (207 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ae7ea8
//
// 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:27:16 +0000
//
__int64 __fastcall LevelCell::draw(__int64 a1)
{
__int64 result; // rax
__int64 v2; // [rsp-30h] [rbp-30h] BYREF
double v3; // [rsp-28h] [rbp-28h] BYREF
float v4; // [rsp-20h] [rbp-20h] BYREF
float v5; // [rsp-1Ch] [rbp-1Ch]
if ( !*(_BYTE *)(a1 + 570) )
{
sub_100278260(
&v4,
COERCE_DOUBLE((unsigned __int64)*(_DWORD *)(a1 + 520)),
COERCE_DOUBLE((unsigned __int64)*(_DWORD *)(a1 + 524)));
cocos2d::ccDrawColor4B(0, 0, 0, 75);
glLineWidth(2.0);
sub_100278250(&v2, 1.0, v5);
sub_100278250(&v3, v4 + -1.0, v5);
cocos2d::ccDrawLine((__int64)&v2, &v3);
sub_100278250(&v2, 1.0, 0.0);
sub_100278250(&v3, v4 + -1.0, 0.0);
return cocos2d::ccDrawLine((__int64)&v2, &v3);
}
return result;
}