//
// GJPathPage::create from 0x1403931f0 to 0x14039332b (315 bytes)
//
// 3 xrefs:
// > GJPathsLayer::onPath @ 0x140392ef7
// > GJPathPage::unlockAnimationFinished @ 0x140396d8f
// > ??> @ 0x14092309c
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:31:11 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *__fastcall GJPathPage::create(unsigned int a1, __int64 a2)
{
_QWORD *v4; // rsi
v4 = operator new(0x2C0u);
FLAlertLayer::FLAlertLayer((__int64)v4);
*v4 = &GJPathPage::`vftable';
v4[40] = &GJPathPage::`vftable';
v4[41] = &GJPathPage::`vftable';
v4[42] = &GJPathPage::`vftable';
v4[43] = &GJPathPage::`vftable';
v4[44] = &GJPathPage::`vftable';
v4[51] = &GJPathPage::`vftable';
v4[54] = &GJPathPage::`vftable';
v4[68] = &GJPathPage::`vftable';
v4[83] = &GJPathPage::`vftable';
v4[84] = &GJPathPage::`vftable';
v4[85] = 0;
*((_DWORD *)v4 + 172) = 0;
*((_BYTE *)v4 + 692) = 0;
*((_DWORD *)v4 + 174) = 0;
if ( (unsigned __int8)GJPathPage::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return v4;
}
else
{
(*(void (__fastcall **)(_QWORD *, __int64))(*v4 + 8LL))(v4, 1);
return nullptr;
}
}