//
// ScrollingLayer::create from 0x6c99bc to 0x6c9b48 (396 bytes)
//
// 2 xrefs:
// > FLAlertLayer::init @ 0x69a6dc
// > ??> @ 0x71cf8
//
// This function is hookable on this platform (idp: arm, 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 12:51:22 +0000
//
__int64 __fastcall ScrollingLayer::create(const cocos2d::CCSize *a1, const cocos2d::CCPoint *a2, float a3)
{
__int64 v6; // x19
__int64 v7; // x1
__int64 v8; // x0
_BYTE v10[8]; // [xsp+48h] [xbp+48h] BYREF
_BYTE v11[8]; // [xsp+50h] [xbp+50h] BYREF
v6 = operator new(0x260u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v6);
*(_QWORD *)v6 = &off_1422C20;
*(_QWORD *)(v6 + 320) = off_1423148;
*(_QWORD *)(v6 + 328) = &off_14231B8;
*(_QWORD *)(v6 + 336) = off_14231D0;
*(_QWORD *)(v6 + 344) = off_14231F0;
*(_QWORD *)(v6 + 352) = off_1423218;
*(_QWORD *)(v6 + 408) = &off_1423248;
*(_QWORD *)(v6 + 432) = &off_14232C8;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 544));
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v6 + 552));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 560));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 568));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 576));
*(_DWORD *)(v6 + 588) = -1;
*(_QWORD *)(v6 + 592) = 0;
*(_QWORD *)(v6 + 600) = 0;
*(_DWORD *)(v6 + 584) = 0;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v10, a1);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, a2);
if ( (unsigned __int8)ScrollingLayer::init((__int64 *)v6, (__int64)v10, (__int64)v11, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
}
else
{
v7 = *(_QWORD *)v6;
v8 = v6;
v6 = 0;
(*(void (__fastcall **)(__int64))(v7 + 16))(v8);
}
return v6;
}