//
// GJPathPage::onActivatePath from 0x140287210 to 0x140287271 (97 bytes)
//
// 2 xrefs:
// > GJPathPage::init @ 0x14028709c
// > ??> @ 0x1406d158c
//
// 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
//
// Hidden C++ exception states: #wind=1
void GJPathPage::onActivatePath(GJPathPage *a1, cocos2d::CCObject *a2)
{
int v2; // ebx
__int64 v3; // rcx
void *v4; // [rsp+30h] [rbp+8h]
v2 = a1->m_pathNumber + 29;
v3 = qword_1406C2EE8;
if ( !qword_1406C2EE8 )
{
v4 = operator new(0x3E0u);
qword_1406C2EE8 = sub_1401D0AE0((__int64)v4);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8);
v3 = qword_1406C2EE8;
}
if ( (unsigned int)(v2 - 30) > 9 )
v2 = 0;
*(_DWORD *)(v3 + 988) = v2;
}