//
// ScrollingLayer::draw from 0x140070f10 to 0x140070fcc (188 bytes)
//
// 3 xrefs:
// > ??> @ 0x140536198
// > ??> @ 0x1406c6180
// > ??> @ 0x1406c618c
//
// 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 *v2; // rax
struct cocos2d::CCPoint v3; // r8
cocos2d::CCPoint v4; // [rsp+30h] [rbp+8h] BYREF
char v5; // [rsp+38h] [rbp+10h] BYREF
cocos2d::CCPoint v6; // [rsp+40h] [rbp+18h] BYREF
cocos2d::CCPoint v7; // [rsp+48h] [rbp+20h] BYREF
cocos2d::ccDrawColor4B(nullptr, 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(&v6, a1->m_size.width, a1->m_size.height);
cocos2d::CCPoint::operator+(&v4, &v5);
v2 = (cocos2d *)cocos2d::CCPoint::CCPoint(&v7, &v4);
cocos2d::ccDrawRect(v2, (struct cocos2d::CCPoint)&v5, v3);
}