//
// GJGroundLayer::create from 0x10002b988 to 0x10002b9f8 (112 bytes)
//
// 4 xrefs:
// > GJBaseGameLayer::createGroundLayer @ 0x1001de188
// > GJBaseGameLayer::createGroundLayer @ 0x1001de1c0
// > MenuGameLayer::init @ 0x10039a6fc
// > LevelSelectLayer::init @ 0x100401af0
//
// 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
//
GJGroundLayer *__fastcall GJGroundLayer::create(int a1, int a2)
{
GJGroundLayer *v4; // x19
v4 = (GJGroundLayer *)operator new(0x1D8u);
sub_10002D1A8();
if ( GJGroundLayer::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
((void (__fastcall *)(GJGroundLayer *))v4->~GJGroundLayer_0)(v4);
return nullptr;
}
return v4;
}