//
// ScrollingLayer::draw from 0x5a933c to 0x5a9418 (220 bytes)
//
// 2 xrefs:
// > ??> @ 0x8c808
// > ??> @ 0x1144248
//
// 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; // [xsp+58h] [xbp+58h] BYREF
cocos2d::CCPoint v3; // [xsp+60h] [xbp+60h] BYREF
__int64 v4; // [xsp+68h] [xbp+68h] BYREF
cocos2d::CCPoint v5; // [xsp+70h] [xbp+70h] BYREF
cocos2d::CCPoint v6; // 0:s0.4,4:s1.4
cocos2d::CCPoint v7; // 0:s2.4,4:s3.4
cocos2d::ccDrawColor4B(0, 0x14u, 0x28u, 0xFFu);
glLineWidth();
cocos2d::CCPoint::CCPoint(
&v2,
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(&v5, &v2);
cocos2d::CCPoint::CCPoint(&v3, a1->m_size.width, a1->m_size.height);
cocos2d::CCPoint::operator+(&v4, &v2, &v3);
cocos2d::ccDrawRect(v6, v7);
}