//
// GJFlyGroundLayer::create from 0x1005ebb10 to 0x1005ebbf9 (233 bytes)
//
// 0 xrefs:
//
// 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
//
GJFlyGroundLayer *__fastcall GJFlyGroundLayer::create()
{
char *v0; // rbx
v0 = (char *)operator new(0x1D8u);
cocos2d::CCLayer::CCLayer((__int64)v0);
*((_QWORD *)v0 + 54) = 0;
*((_WORD *)v0 + 220) = 0;
*((_QWORD *)v0 + 56) = 0;
*(_OWORD *)(v0 + 408) = 0;
*((_DWORD *)v0 + 106) = 0;
*((_WORD *)v0 + 228) = 257;
*((_DWORD *)v0 + 115) = 0;
v0[464] = 0;
*(_QWORD *)v0 = off_100979600;
*((_QWORD *)v0 + 40) = off_100979A98;
*((_QWORD *)v0 + 41) = &off_100979B08;
*((_QWORD *)v0 + 42) = off_100979B20;
*((_QWORD *)v0 + 43) = off_100979B40;
*((_QWORD *)v0 + 44) = off_100979B60;
if ( cocos2d::CCLayer::init((cocos2d::CCLayer *)v0) )
{
v0[440] = 0;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (GJFlyGroundLayer *)v0;
}