//
// GJPathPage::unlockAnimationFinished from 0x1003bae4c to 0x1003baed8 (140 bytes)
//
// 1 xrefs:
// > GJPathPage::playUnlockAnimation @ 0x1003ba6fc
//
// 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
//
void __fastcall GJPathPage::unlockAnimationFinished(GJPathPage *a1)
{
int m_pathNumber; // w20
GameStatsManager *v3; // x0
cocos2d::CCObject *v4; // x1
GJPathsLayer *m_pathsLayer; // x0
cocos2d::CCObject *v6; // x1
GJPathsLayer *v7; // x20
GJPathPage *v8; // x19
a1->m_animationPlaying = 0;
m_pathNumber = a1->m_pathNumber;
v3 = GameStatsManager::sharedState();
GameStatsManager::updateActivePath(v3, (StatKey)(m_pathNumber + 29));
GJPathPage::onBack(a1, v4);
m_pathsLayer = a1->m_pathsLayer;
m_pathsLayer->m_exiting = 0;
GJPathsLayer::onClose(m_pathsLayer, v6);
v7 = GJPathsLayer::create();
v7->m_noElasticity = 1;
((void (__fastcall *)(GJPathsLayer *))v7->show)(v7);
v8 = GJPathPage::create(a1->m_pathNumber, v7);
v8->m_noElasticity = 1;
((void (__fastcall *)(GJPathPage *))v8->show)(v8);
GJPathPage::unlockAnimationStep3(v8);
}