//
// ScrollingLayer::draw from 0x3e7118 to 0x3e71aa (146 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:47:05 +0000
//
int __fastcall ScrollingLayer::draw(ScrollingLayer *this)
{
unsigned __int8 v3; // [sp+0h] [bp-1Ch]
_BYTE v4[8]; // [sp+4h] [bp-18h] BYREF
_BYTE v5[8]; // [sp+Ch] [bp-10h] BYREF
_BYTE v6[8]; // [sp+14h] [bp-8h] BYREF
_BYTE v7[8]; // [sp+1Ch] [bp+0h] BYREF
cocos2d::ccDrawColor4B(nullptr, 0x14u, 0x28u, 0xFFu, v3);
glLineWidth(6.0);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v4,
*((float *)this + 110) - (float)(*((float *)this + 112) * 0.5),
*((float *)this + 111) - (float)(*((float *)this + 113) * 0.5));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, (const cocos2d::CCPoint *)v4);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v5, *((float *)this + 112), *((float *)this + 113));
cocos2d::CCPoint::operator+(v6, v4, v5);
return cocos2d::ccDrawRect(v7, v6);
}