//
// GJGarageLayer::node from 0x50afd0 to 0x50b0b0 (224 bytes)
//
// 1 xrefs:
// > GJGarageLayer::scene @ 0x50b0c2
//
// 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:51:27 +0000
//
int __fastcall GJGarageLayer::node(GJGarageLayer *this)
{
int v1; // r4
v1 = operator new(0x1ACu);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v1);
*(_DWORD *)v1 = &off_CA6F68;
*(_DWORD *)(v1 + 264) = &off_CA71D8;
*(_DWORD *)(v1 + 268) = &off_CA7210;
*(_DWORD *)(v1 + 272) = &off_CA721C;
*(_DWORD *)(v1 + 276) = &off_CA722C;
*(_DWORD *)(v1 + 280) = &off_CA7240;
*(_DWORD *)(v1 + 316) = &off_CA7258;
*(_DWORD *)(v1 + 320) = &off_CA727C;
*(_DWORD *)(v1 + 324) = &off_CA7288;
*(_DWORD *)(v1 + 328) = &off_CA7294;
*(_DWORD *)(v1 + 332) = &off_CA72A0;
*(_DWORD *)(v1 + 336) = &off_CA72AC;
*(_DWORD *)(v1 + 340) = &off_CA72BC;
*(_DWORD *)(v1 + 376) = v1 + 380;
*(_DWORD *)(v1 + 348) = 0;
*(_DWORD *)(v1 + 360) = 0;
*(_DWORD *)(v1 + 364) = 0;
*(_BYTE *)(v1 + 368) = 0;
*(_DWORD *)(v1 + 380) = 0;
*(_DWORD *)(v1 + 384) = 0;
*(_DWORD *)(v1 + 392) = 0;
*(_DWORD *)(v1 + 396) = 0;
*(_DWORD *)(v1 + 400) = 0;
*(_DWORD *)(v1 + 416) = 0;
*(_DWORD *)(v1 + 420) = 0;
*(_BYTE *)(v1 + 424) = 0;
if ( GJGarageLayer::init((GJGarageLayer *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(int))(*(_DWORD *)v1 + 8))(v1);
return 0;
}
}