//
// LevelCell::draw from 0x14014d560 to 0x14014d641 (225 bytes)
//
// 4 xrefs:
// > ??> @ 0x1407414b0
// > ??> @ 0x14089a754
// > ??> @ 0x14089a764
// > ??> @ 0x140917660
//
// 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 11:27:16 +0000
//
void __fastcall LevelCell::draw(__int64 a1)
{
const struct cocos2d::CCPoint *v1; // rax
const struct cocos2d::CCPoint *v2; // rbx
cocos2d *v3; // rax
const struct cocos2d::CCPoint *v4; // r8
const struct cocos2d::CCPoint *v5; // rax
const struct cocos2d::CCPoint *v6; // rbx
cocos2d *v7; // rax
const struct cocos2d::CCPoint *v8; // r8
float v9; // [rsp+40h] [rbp+8h] BYREF
float v10; // [rsp+44h] [rbp+Ch]
char v11; // [rsp+48h] [rbp+10h] BYREF
char v12; // [rsp+50h] [rbp+18h] BYREF
if ( !*(_BYTE *)(a1 + 578) )
{
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v9, *(float *)(a1 + 528), *(float *)(a1 + 532));
cocos2d::ccDrawColor4B(nullptr, 0, 0, 0x4Bu);
glLineWidth(2.0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, v9 - 1.0, v10);
v2 = v1;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v12, 1.0, v10);
cocos2d::ccDrawLine(v3, v2, v4);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, v9 - 1.0, 0.0);
v6 = v5;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v12, 1.0, 0.0);
cocos2d::ccDrawLine(v7, v6, v8);
}
}