//
// RetryLevelLayer::onReplay from 0x918478 to 0x9184d8 (96 bytes)
//
// 4 xrefs:
// > RetryLevelLayer::keyDown @ 0x918720
// > ??> @ 0xa74d0
// > RetryLevelLayer::customSetup @ 0x919338
// > ??> @ 0x1544b38
//
// 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 12:57:20 +0000
//
__int64 __fastcall RetryLevelLayer::onReplay(RetryLevelLayer *this, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
PlatformToolbox *GameVariable; // x0
__int64 v5; // x0
v3 = (GameManager *)GameManager::sharedState(this);
GameVariable = (PlatformToolbox *)(unsigned __int8)GameManager::getGameVariable(v3, "0024");
if ( !(_BYTE)GameVariable )
PlatformToolbox::hideCursor(GameVariable);
v5 = GameManager::sharedState(GameVariable);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(v5 + 544) + 1608LL))(*(_QWORD *)(v5 + 544));
return (*(__int64 (__fastcall **)(RetryLevelLayer *))(*(_QWORD *)this + 536LL))(this);
}