//
// cocos2d::CCScrollLayer::nodeWithLayers from 0x2e7de0 to 0x2e7ecc (236 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall cocos2d::CCScrollLayer::nodeWithLayers(cocos2d::CCArray *this, cocos2d::CCArray *a2, int a3)
{
int v5; // r4
v5 = operator new(0x194u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v5);
*(_DWORD *)v5 = &off_A3E0C0;
*(_DWORD *)(v5 + 264) = &off_A3E300;
*(_DWORD *)(v5 + 268) = &off_A3E338;
*(_DWORD *)(v5 + 272) = &off_A3E344;
*(_DWORD *)(v5 + 276) = &off_A3E354;
*(_DWORD *)(v5 + 280) = &off_A3E364;
*(_DWORD *)(v5 + 316) = 0;
*(_DWORD *)(v5 + 320) = 0;
*(_DWORD *)(v5 + 340) = 0;
*(_DWORD *)(v5 + 348) = 0;
*(_BYTE *)(v5 + 360) = 0;
*(_BYTE *)(v5 + 361) = 0;
*(_DWORD *)(v5 + 324) = 0;
*(_DWORD *)(v5 + 328) = 0;
*(_DWORD *)(v5 + 332) = 0;
*(_DWORD *)(v5 + 336) = 0;
*(_DWORD *)(v5 + 344) = 0;
*(_DWORD *)(v5 + 352) = 0;
*(_DWORD *)(v5 + 356) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v5 + 364), 0.0, 0.0);
*(_DWORD *)(v5 + 376) = 0;
*(_DWORD *)(v5 + 380) = 0;
*(_DWORD *)(v5 + 388) = 0;
*(_DWORD *)(v5 + 372) = 0;
*(_DWORD *)(v5 + 384) = 0;
*(_DWORD *)(v5 + 392) = 0;
*(_BYTE *)(v5 + 396) = 0;
*(_DWORD *)(v5 + 400) = 0;
if ( cocos2d::CCScrollLayer::initWithLayers((cocos2d::CCLayer *)v5, this, (int)a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
return v5;
}
else
{
(*(void (__fastcall **)(int))(*(_DWORD *)v5 + 8))(v5);
return 0;
}
}