//
// ScrollingLayer::create from 0x3e7338 to 0x3e7448 (272 bytes)
//
// 1 xrefs:
// > FLAlertLayer::init @ 0x3cbc38
//
// 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
//
_DWORD *__fastcall ScrollingLayer::create(const cocos2d::CCSize *a1, const cocos2d::CCPoint *a2, int a3)
{
_DWORD *v6; // r4
int v7; // r3
_DWORD *v8; // r0
_BYTE v10[8]; // [sp+4h] [bp-18h] BYREF
_BYTE v11[8]; // [sp+Ch] [bp-10h] BYREF
v6 = (_DWORD *)operator new(0x1F0u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v6);
*v6 = &off_C8B068;
v6[66] = &off_C8B2FC;
v6[67] = &off_C8B334;
v6[68] = &off_C8B340;
v6[69] = &off_C8B350;
v6[70] = &off_C8B364;
v6[79] = &off_C8B37C;
v6[83] = &off_C8B3BC;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 110));
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v6 + 112));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 114));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 116));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 118));
v6[120] = 0;
v6[121] = -1;
v6[122] = 0;
v6[123] = 0;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v10, a1);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, a2);
if ( ScrollingLayer::init(v6, (int)v10, (int)v11, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
}
else
{
v7 = *v6;
v8 = v6;
v6 = nullptr;
(*(void (__fastcall **)(_DWORD *))(v7 + 8))(v8);
}
return v6;
}