//
// cocos2d::CCScrollLayer::nodeWithLayers from 0x6943f0 to 0x694538 (328 bytes)
//
// 1 xrefs:
// > ??> @ 0xbea80
//
// 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:50:36 +0000
//
__int64 __fastcall cocos2d::CCScrollLayer::nodeWithLayers(cocos2d::CCScrollLayer *this, cocos2d::CCArray *a2)
{
int v3; // w20
__int64 v4; // x19
v3 = (int)a2;
v4 = operator new(0x200u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v4);
*(_DWORD *)(v4 + 404) = 0;
*(_QWORD *)v4 = &off_1417D30;
*(_QWORD *)(v4 + 320) = off_14181C0;
*(_QWORD *)(v4 + 328) = &off_1418230;
*(_QWORD *)(v4 + 336) = off_1418248;
*(_QWORD *)(v4 + 344) = off_1418268;
*(_QWORD *)(v4 + 352) = off_1418290;
*(_DWORD *)(v4 + 408) = 0;
*(_DWORD *)(v4 + 428) = 0;
*(_QWORD *)(v4 + 440) = 0;
*(_BYTE *)(v4 + 456) = 0;
*(_BYTE *)(v4 + 457) = 0;
*(_DWORD *)(v4 + 412) = 0;
*(_DWORD *)(v4 + 416) = 0;
*(_DWORD *)(v4 + 420) = 0;
*(_DWORD *)(v4 + 424) = 0;
*(_DWORD *)(v4 + 432) = 0;
*(_DWORD *)(v4 + 448) = 0;
*(_DWORD *)(v4 + 452) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v4 + 460), 0.0, 0.0);
*(_DWORD *)(v4 + 468) = 0;
*(_QWORD *)(v4 + 480) = 0;
*(_DWORD *)(v4 + 492) = 0;
*(_BYTE *)(v4 + 496) = 0;
*(_QWORD *)(v4 + 504) = 0;
*(_DWORD *)(v4 + 472) = 0;
*(_DWORD *)(v4 + 476) = 0;
*(_DWORD *)(v4 + 488) = 0;
if ( (unsigned __int8)cocos2d::CCScrollLayer::initWithLayers((cocos2d::CCScrollLayer *)v4, this, v3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return v4;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 16LL))(v4);
return 0;
}
}