//
// GJPathPage::create from 0xba7a90 to 0xba7c5c (460 bytes)
//
// 3 xrefs:
// > GJPathsLayer::onPath @ 0xba7c84
// > GJPathPage::unlockAnimationFinished @ 0xba827c
// > ??> @ 0x56920
//
// This function is hookable on this platform (idp: arm, 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 13:02:50 +0000
//
__int64 __fastcall GJPathPage::create(GJPathPage *this, GJPathsLayer *a2, GJPathsLayer *a3)
{
unsigned int v3; // w21
__int64 v5; // x19
v3 = (unsigned int)this;
v5 = operator new(0x2C0u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v5);
*(_QWORD *)(v5 + 552) = 0;
*(_QWORD *)v5 = &off_1419A40;
*(_QWORD *)(v5 + 320) = off_1419F90;
*(_QWORD *)(v5 + 328) = &off_141A000;
*(_QWORD *)(v5 + 336) = off_141A018;
*(_QWORD *)(v5 + 344) = off_141A038;
*(_QWORD *)(v5 + 352) = off_141A060;
*(_QWORD *)(v5 + 408) = &off_141A090;
*(_QWORD *)(v5 + 432) = &off_141A110;
*(_QWORD *)(v5 + 544) = off_141A130;
*(_QWORD *)(v5 + 560) = 0;
*(_QWORD *)(v5 + 568) = 0;
*(_BYTE *)(v5 + 576) = 0;
*(_QWORD *)(v5 + 584) = 0;
*(_DWORD *)(v5 + 592) = 0;
*(_BYTE *)(v5 + 596) = 0;
*(_BYTE *)(v5 + 597) = 0;
*(_BYTE *)(v5 + 598) = 0;
*(_BYTE *)(v5 + 599) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v5 + 600));
*(_DWORD *)(v5 + 632) = -1;
*(_DWORD *)(v5 + 640) = -1;
*(_QWORD *)(v5 + 608) = 0;
*(_QWORD *)(v5 + 616) = 0;
*(_QWORD *)(v5 + 624) = 0;
*(_BYTE *)(v5 + 636) = 0;
*(_BYTE *)(v5 + 637) = 0;
*(_BYTE *)(v5 + 644) = 0;
*(_BYTE *)(v5 + 656) = 0;
*(_DWORD *)(v5 + 648) = 0;
*(_DWORD *)(v5 + 652) = 0;
*(_QWORD *)(v5 + 680) = 0;
*(_QWORD *)v5 = &off_14DA1F0;
*(_QWORD *)(v5 + 320) = off_14DA748;
*(_QWORD *)(v5 + 328) = &off_14DA7B8;
*(_QWORD *)(v5 + 336) = off_14DA7D0;
*(_QWORD *)(v5 + 344) = off_14DA7F0;
*(_QWORD *)(v5 + 352) = off_14DA818;
*(_QWORD *)(v5 + 408) = &off_14DA848;
*(_QWORD *)(v5 + 432) = &off_14DA8C8;
*(_QWORD *)(v5 + 544) = off_14DA8E8;
*(_QWORD *)(v5 + 664) = &off_14DA930;
*(_QWORD *)(v5 + 672) = &off_14DA948;
*(_DWORD *)(v5 + 688) = 0;
*(_BYTE *)(v5 + 692) = 0;
*(_DWORD *)(v5 + 696) = 0;
if ( (unsigned __int8)GJPathPage::init((GJPathPage *)v5, v3, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
return v5;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 16LL))(v5);
return 0;
}
}