//
// GJPathPage::create from 0x1003b8684 to 0x1003b8750 (204 bytes)
//
// 2 xrefs:
// > GJPathsLayer::onPath @ 0x1003b85cc
// > GJPathPage::unlockAnimationFinished @ 0x1003baeac
//
// 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
//
GJPathPage *__fastcall GJPathPage::create(int a1, GJPathsLayer *a2)
{
GJPathPage *v4; // x19
v4 = (GJPathPage *)operator new(0x2A0u);
FLAlertLayer::FLAlertLayer(v4);
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJPathPage_vtbl *)&off_10080FDA8;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1008102D0;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_100810340;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_100810358;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_100810378;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_100810398;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1008103C0;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_100810440;
v4->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_100810460;
v4->GJPurchaseDelegate::__vftable = (GJPurchaseDelegate_vtbl *)&off_100810478;
v4->m_pathsLayer = nullptr;
v4->m_pathNumber = 0;
v4->m_animationPlaying = 0;
v4->m_dialogIndex = 0;
if ( GJPathPage::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
((void (__fastcall *)(GJPathPage *))v4->~GJPathPage_0)(v4);
return nullptr;
}
return v4;
}