//
// ScrollingLayer::ScrollingLayer from 0x1001b8d08 to 0x1001b8da0 (152 bytes)
//
// 1 xrefs:
// > ScrollingLayer::create @ 0x1001b87e0
//
// 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
//
ScrollingLayer *__fastcall ScrollingLayer::ScrollingLayer(ScrollingLayer *a1)
{
_QWORD *v2; // x0
cocos2d::CCLayerColor::CCLayerColor((__int64)a1);
*v2 = &off_1007B3D48;
v2[40] = off_1007B4260;
v2[41] = &off_1007B42D0;
v2[42] = off_1007B42E8;
v2[43] = &off_1007B4308;
v2[44] = off_1007B4328;
v2[51] = off_1007B4350;
v2[54] = off_1007B43D0;
sub_1000229B0(v2 + 68);
sub_100022AF4(&a1->m_size);
sub_1000229B0(&a1->m_touchStartPosition);
sub_1000229B0(&a1->m_touchPosition);
sub_1000229B0(&a1->m_startOffset);
*(_QWORD *)&a1->m_scrollFactor = 0xFFFFFFFF00000000LL;
*(_OWORD *)&a1->m_contentLayer = 0u;
return a1;
}