//
// GJPathPage::unlockAnimationFinished from 0xa710c8 to 0xa71160 (152 bytes)
//
// 3 xrefs:
// > ??> @ 0x4c6b0
// > GJPathPage::playUnlockAnimation @ 0xa6e2e4
// > ??> @ 0x122a770
//
// 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 GJPathPage::unlockAnimationFinished(GJPathPage *a1)
{
int v1; // w1
GameStatsManager *v3; // x0
GJPathsLayer *m_pathsLayer; // x0
GJPathsLayer *v5; // x0
GJPathsLayer_vtbl *v6; // x2
GJPathPage *v7; // x0
GJPathPage_vtbl *v8; // x1
GJPathPage *v9; // x19
StatKey v10; // [xsp+28h] [xbp+28h]
GJPathsLayer *v11; // [xsp+28h] [xbp+28h]
v1 = a1->m_pathNumber + 29;
a1->m_animationPlaying = 0;
v10 = v1;
v3 = GameStatsManager::sharedState();
GameStatsManager::updateActivePath(v3, v10);
GJPathPage::onBack(a1, nullptr);
m_pathsLayer = a1->m_pathsLayer;
m_pathsLayer->m_exiting = 0;
GJPathsLayer::onClose(m_pathsLayer, nullptr);
v5 = GJPathsLayer::create();
v6 = v5->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v5->m_noElasticity = 1;
v11 = v5;
((void (*)(void))v6->show)();
v7 = GJPathPage::create(a1->m_pathNumber, v11);
v8 = v7->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v7->m_noElasticity = 1;
v9 = v7;
((void (*)(void))v8->show)();
GJPathPage::unlockAnimationStep3(v9);
}