//
// ScrollingLayer::create from 0x1001b87b0 to 0x1001b8850 (160 bytes)
//
// 1 xrefs:
// > FLAlertLayer::init @ 0x1002ac204
//
// 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::create(cocos2d::CCSize a1, cocos2d::CCPoint a2, float a3)
{
double *v3; // x0
__int64 *v4; // x1
float width; // s8
__int64 *v6; // x20
double *v7; // x21
ScrollingLayer *v8; // x19
float v9; // s4
__int64 v11; // [xsp+0h] [xbp-40h] BYREF
__int64 v12; // [xsp+8h] [xbp-38h] BYREF
cocos2d::CCSize v13; // 0:s0.4,4:s1.4
cocos2d::CCPoint v14; // 0:s2.4,4:s3.4
width = a1.width;
v6 = v4;
v7 = v3;
v8 = (ScrollingLayer *)operator new(0x260u);
ScrollingLayer::ScrollingLayer(v8);
sub_100022AFC(&v12, v7);
sub_1000229B8(&v11, v6);
v13.width = width;
if ( ScrollingLayer::init(v8, v13, v14, v9) )
{
cocos2d::CCObject::autorelease(v8);
}
else
{
((void (__fastcall *)(ScrollingLayer *))v8->~ScrollingLayer_0)(v8);
return nullptr;
}
return v8;
}