//
// LevelCell::draw from 0x42478c to 0x424838 (172 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:03 +0000
//
int __fastcall LevelCell::draw(int this)
{
cocos2d *v1; // r5
const cocos2d::CCPoint *v2; // r2
const cocos2d::CCPoint *v3; // r2
unsigned __int8 v4; // [sp+0h] [bp-20h]
float v5; // [sp+4h] [bp-1Ch] BYREF
float v6; // [sp+8h] [bp-18h]
_BYTE v7[8]; // [sp+Ch] [bp-14h] BYREF
_BYTE v8[8]; // [sp+14h] [bp-Ch] BYREF
v1 = (cocos2d *)*(unsigned __int8 *)(this + 430);
if ( !*(_BYTE *)(this + 430) )
{
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v5, *(float *)(this + 400), *(float *)(this + 404));
cocos2d::ccDrawColor4B(v1, (unsigned __int8)v1, (unsigned __int8)v1, 0x4Bu, v4);
glLineWidth(2.0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, 1.0, v6);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, v5 - 1.0, v6);
cocos2d::ccDrawLine((cocos2d *)v7, (const cocos2d::CCPoint *)v8, v2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, 1.0, 0.0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, v5 - 1.0, 0.0);
return cocos2d::ccDrawLine((cocos2d *)v7, (const cocos2d::CCPoint *)v8, v3);
}
return this;
}