//
// GJPathPage::create from 0x6d4028 to 0x6d40d8 (176 bytes)
//
// 2 xrefs:
// > GJPathsLayer::onPath @ 0x6d40ec
// > GJPathPage::unlockAnimationFinished @ 0x6d44f4
//
// 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:57:05 +0000
//
FLAlertLayer *__fastcall GJPathPage::create(GJPathPage *this, GJPathsLayer *a2, GJPathsLayer *a3)
{
FLAlertLayer *v5; // r4
int v6; // r3
int *v7; // r0
v5 = (FLAlertLayer *)operator new(0x220u);
FLAlertLayer::FLAlertLayer(v5);
*(_DWORD *)v5 = &off_CE6E28;
*((_DWORD *)v5 + 66) = &off_CE70D4;
*((_DWORD *)v5 + 67) = &off_CE710C;
*((_DWORD *)v5 + 68) = &off_CE7118;
*((_DWORD *)v5 + 69) = &off_CE7128;
*((_DWORD *)v5 + 70) = &off_CE713C;
*((_DWORD *)v5 + 79) = &off_CE7154;
*((_DWORD *)v5 + 83) = &off_CE7194;
*((_DWORD *)v5 + 110) = &off_CE71A4;
*((_DWORD *)v5 + 130) = &off_CE71C8;
*((_DWORD *)v5 + 131) = &off_CE71D4;
*((_DWORD *)v5 + 132) = 0;
*((_DWORD *)v5 + 133) = 0;
*((_BYTE *)v5 + 536) = 0;
*((_DWORD *)v5 + 135) = 0;
if ( GJPathPage::init(v5, (const char *)this, a2) )
{
cocos2d::CCObject::autorelease(v5);
}
else
{
v6 = *(_DWORD *)v5;
v7 = (int *)v5;
v5 = nullptr;
(*(void (__fastcall **)(int *))(v6 + 8))(v7);
}
return v5;
}