//
// ScrollingLayer::draw from 0x2fdaec to 0x2fdb7e (146 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void ScrollingLayer::draw(ScrollingLayer *a1)
{
cocos2d::CCPoint v2; // r0
cocos2d::CCPoint v3; // r2
cocos2d::CCPoint v4; // [sp+4h] [bp-18h] BYREF
cocos2d::CCPoint v5; // [sp+Ch] [bp-10h] BYREF
_BYTE v6[8]; // [sp+14h] [bp-8h] BYREF
cocos2d::CCPoint v7; // [sp+1Ch] [bp+0h] BYREF
cocos2d::ccDrawColor4B(0, 0x14u, 0x28u, 0xFFu);
glLineWidth(6.0);
cocos2d::CCPoint::CCPoint(
&v4,
a1->m_position.x - (float)(a1->m_size.width * 0.5),
a1->m_position.y - (float)(a1->m_size.height * 0.5));
cocos2d::CCPoint::CCPoint(&v7, &v4);
cocos2d::CCPoint::CCPoint(&v5, a1->m_size.width, a1->m_size.height);
cocos2d::CCPoint::operator+(v6, &v4, &v5);
LODWORD(v2.x) = &v7;
LODWORD(v2.y) = v6;
cocos2d::ccDrawRect(v2, v3);
}