//
// GJPathPage::unlockAnimationFinished from 0x6d44a4 to 0x6d4510 (108 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:57:05 +0000
//
int __fastcall GJPathPage::unlockAnimationFinished(GJPathPage *this)
{
int v1; // r1
int v3; // r6
int v4; // r0
GJPathsLayer *v5; // r0
FLAlertLayer *v6; // r0
int v7; // r3
GJPathsLayer *v8; // r5
GJPathsLayer *v9; // r2
FLAlertLayer *v10; // r0
int v11; // r3
GJPathSprite **v12; // r4
v1 = *((_DWORD *)this + 133);
*((_BYTE *)this + 536) = 0;
v3 = v1 + 29;
v4 = GameStatsManager::sharedState(this);
GameStatsManager::updateActivePath(v4, v3);
GJPathPage::onBack((unsigned __int8 *)this, nullptr);
*(_BYTE *)(*((_DWORD *)this + 132) + 528) = 0;
v5 = (GJPathsLayer *)GJPathsLayer::onClose(*((GJPathsLayer **)this + 132), nullptr);
v6 = GJPathsLayer::create(v5);
v7 = *(_DWORD *)v6;
v8 = v6;
*((_BYTE *)v6 + 468) = 1;
(*(void (**)(void))(v7 + 656))();
v10 = GJPathPage::create(*((GJPathPage **)this + 133), v8, v9);
v11 = *(_DWORD *)v10;
v12 = (GJPathSprite **)v10;
*((_BYTE *)v10 + 468) = 1;
(*(void (**)(void))(v11 + 656))();
return GJPathPage::unlockAnimationStep3(v12);
}