//
// GJPathPage::unlockAnimationFinished from 0x100461b04 to 0x100461b90 (140 bytes)
//
// 1 xrefs:
// > GJPathPage::playUnlockAnimation @ 0x1004613b4
//
// 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 11:05:30 +0000
//
__int64 __fastcall GJPathPage::unlockAnimationFinished(__int64 a1)
{
int v2; // w20
__int64 v3; // x0
__int64 v4; // x0
_BYTE *v5; // x20
_BYTE *v6; // x19
*(_BYTE *)(a1 + 692) = 0;
v2 = *(_DWORD *)(a1 + 688);
v3 = GameStatsManager::sharedState();
sub_1003CDC48(v3, v2 + 29);
sub_100460D64(a1);
v4 = *(_QWORD *)(a1 + 680);
*(_BYTE *)(v4 + 680) = 0;
sub_10045F128(v4);
v5 = GJPathsLayer::create();
v5[596] = 1;
(*(void (__fastcall **)(_BYTE *))(*(_QWORD *)v5 + 1312LL))(v5);
v6 = sub_10045F390(*(unsigned int *)(a1 + 688), (__int64)v5);
v6[596] = 1;
(*(void (__fastcall **)(_BYTE *))(*(_QWORD *)v6 + 1312LL))(v6);
return GJPathPage::unlockAnimationStep3(v6);
}