//
// cocos2d::CCScrollLayer::nodeWithLayers from 0x3c8090 to 0x3c817c (236 bytes)
//
// 0 xrefs:
//
// 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:46:35 +0000
//
int __fastcall cocos2d::CCScrollLayer::nodeWithLayers(cocos2d::CCScrollLayer *this, cocos2d::CCArray *a2, int a3)
{
int v5; // r4
v5 = operator new(0x194u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v5);
*(_DWORD *)v5 = &off_C858D8;
*(_DWORD *)(v5 + 264) = &off_C85B20;
*(_DWORD *)(v5 + 268) = &off_C85B58;
*(_DWORD *)(v5 + 272) = &off_C85B64;
*(_DWORD *)(v5 + 276) = &off_C85B74;
*(_DWORD *)(v5 + 280) = &off_C85B88;
*(_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::CCScrollLayer *)v5, this, (int)a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
return v5;
}
else
{
(*(void (__fastcall **)(int))(*(_DWORD *)v5 + 8))(v5);
return 0;
}
}