//
// GJGarageLayer::node from 0x100369110 to 0x10036925e (334 bytes)
//
// 1 xrefs:
// > GJGarageLayer::scene @ 0x1003690e7
//
// 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
//
GJGarageLayer *__fastcall GJGarageLayer::node()
{
char *v0; // rbx
v0 = (char *)operator new(0x268u);
cocos2d::CCLayer::CCLayer(v0);
*(_QWORD *)v0 = off_10091B678;
*((_QWORD *)v0 + 40) = off_10091BB48;
*((_QWORD *)v0 + 41) = &off_10091BBB8;
*((_QWORD *)v0 + 42) = off_10091BBD0;
*((_QWORD *)v0 + 43) = off_10091BBF0;
*((_QWORD *)v0 + 44) = off_10091BC10;
*((_QWORD *)v0 + 51) = off_10091BC38;
*((_QWORD *)v0 + 52) = &off_10091BC80;
*((_QWORD *)v0 + 53) = &off_10091BC98;
*((_QWORD *)v0 + 54) = &off_10091BCB0;
*((_QWORD *)v0 + 55) = &off_10091BCC8;
*((_QWORD *)v0 + 56) = off_10091BCE0;
*((_QWORD *)v0 + 57) = off_10091BD00;
*((_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 ( GJGarageLayer::init((GJGarageLayer *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (GJGarageLayer *)v0;
}