//
// GJFlyGroundLayer::create from 0x546624 to 0x5466c8 (164 bytes)
//
// 0 xrefs:
//
// 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:52:23 +0000
//
cocos2d::CCLayer *__fastcall GJFlyGroundLayer::create(GJFlyGroundLayer *this)
{
cocos2d::CCLayer *v1; // r4
int v2; // r3
int *v3; // r0
v1 = (cocos2d::CCLayer *)operator new(0x168u);
cocos2d::CCLayer::CCLayer(v1);
*((_DWORD *)v1 + 79) = 0;
*((_DWORD *)v1 + 80) = 0;
*((_DWORD *)v1 + 82) = 0;
*((_BYTE *)v1 + 332) = 0;
*((_BYTE *)v1 + 333) = 0;
*((_DWORD *)v1 + 85) = 0;
*((_BYTE *)v1 + 356) = 0;
*((_DWORD *)v1 + 81) = 0;
*((_DWORD *)v1 + 86) = 0;
*((_DWORD *)v1 + 88) = 0;
*((_BYTE *)v1 + 348) = 1;
*(_DWORD *)v1 = &off_CAE0B0;
*((_BYTE *)v1 + 349) = 1;
*((_DWORD *)v1 + 66) = &off_CAE304;
*((_DWORD *)v1 + 67) = &off_CAE33C;
*((_DWORD *)v1 + 68) = &off_CAE348;
*((_DWORD *)v1 + 69) = &off_CAE358;
*((_DWORD *)v1 + 70) = &off_CAE36C;
if ( GJFlyGroundLayer::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
v2 = *(_DWORD *)v1;
v3 = (int *)v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v2 + 8))(v3);
}
return v1;
}