//
// GJGarageLayer::node from 0x100352520 to 0x10035266e (334 bytes)
//
// 1 xrefs:
// > GJGarageLayer::scene @ 0x1003524f7
//
// This function is hookable on this platform (idp: pc, 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:28:50 +0000
//
char *GJGarageLayer::node()
{
char *v0; // rbx
v0 = (char *)operator new(0x268u);
cocos2d::CCLayer::CCLayer(v0);
*(_QWORD *)v0 = off_100B23828;
*((_QWORD *)v0 + 40) = off_100B23D08;
*((_QWORD *)v0 + 41) = &off_100B23D78;
*((_QWORD *)v0 + 42) = off_100B23D90;
*((_QWORD *)v0 + 43) = off_100B23DB0;
*((_QWORD *)v0 + 44) = off_100B23DD8;
*((_QWORD *)v0 + 51) = off_100B23E08;
*((_QWORD *)v0 + 52) = &off_100B23E50;
*((_QWORD *)v0 + 53) = &off_100B23E68;
*((_QWORD *)v0 + 54) = &off_100B23E80;
*((_QWORD *)v0 + 55) = &off_100B23E98;
*((_QWORD *)v0 + 56) = off_100B23EB0;
*((_QWORD *)v0 + 57) = off_100B23ED0;
*((_QWORD *)v0 + 59) = 0;
*((_OWORD *)v0 + 33) = 0;
*((_OWORD *)v0 + 31) = 0;
v0[512] = 0;
*((_QWORD *)v0 + 65) = v0 + 528;
*(_OWORD *)(v0 + 552) = 0;
*((_QWORD *)v0 + 71) = 0;
*((_QWORD *)v0 + 75) = 0;
v0[608] = 0;
if ( (unsigned __int8)GJGarageLayer::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}