//
// sub_100460D64 from 0x100460d64 to 0x100460e04 (160 bytes)
//
// 4 xrefs:
// > GJPathPage::unlockAnimationFinished @ 0x100461b30
// > GJPathPage::keyBackClicked @ 0x10046214c
// > sub_100462150 @ 0x100462154
// > sub_10045F6C4 @ 0x10045fbac
//
// 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:29 +0000
//
__int64 __fastcall sub_100460D64(__int64 result)
{
_QWORD *v1; // x19
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x8
__int16 v5; // [xsp+Ch] [xbp-14h] BYREF
char v6; // [xsp+Eh] [xbp-12h]
if ( (*(_BYTE *)(result + 692) & 1) == 0 )
{
v1 = (_QWORD *)result;
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, (__int64)v1);
cocos2d::CCNode::stopAllActions((__int64)v1);
cocos2d::CCNode::unscheduleAllSelectors((__int64)v1);
(*(void (__fastcall **)(_QWORD *, _QWORD))(*v1 + 1072LL))(v1, 0);
(*(void (__fastcall **)(_QWORD *, __int64))(*v1 + 528LL))(v1, 1);
v4 = v1[85];
v6 = -1;
v5 = -1;
return (*(__int64 (__fastcall **)(_QWORD, __int16 *))(**(_QWORD **)(v4 + 672) + 960LL))(*(_QWORD *)(v4 + 672), &v5);
}
return result;
}