//
// ScrollingLayer::draw from 0x140083bc0 to 0x140083c7c (188 bytes)
//
// 3 xrefs:
// > ??> @ 0x140713050
// > ??> @ 0x1409123bc
// > ??> @ 0x1409123c8
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:25:56 +0000
//
__int64 __fastcall ScrollingLayer::draw(float *a1)
{
__int64 v2; // rax
__int64 v3; // rax
char v5; // [rsp+30h] [rbp+8h] BYREF
char v6; // [rsp+38h] [rbp+10h] BYREF
char v7; // [rsp+40h] [rbp+18h] BYREF
char v8; // [rsp+48h] [rbp+20h] BYREF
cocos2d::ccDrawColor4B(nullptr, 0x14u, 0x28u, 0xFFu);
glLineWidth(6.0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v5, a1[136] - (float)(a1[138] * 0.5), a1[137] - (float)(a1[139] * 0.5));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v7, a1[138], a1[139]);
cocos2d::CCPoint::operator+(&v5, &v6, v2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v8, (const struct cocos2d::CCPoint *)&v5);
return cocos2d::ccDrawRect(v3, &v6);
}