//
// RetryLevelLayer::onReplay from 0x546f40 to 0x546f74 (52 bytes)
//
// 1 xrefs:
// > RetryLevelLayer::keyDown @ 0x547636
//
// 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:52:24 +0000
//
int __fastcall RetryLevelLayer::onReplay(RetryLevelLayer *this, cocos2d::CCObject *a2)
{
GameManager *v3; // r0
GameManager *GameVariable; // r0
int v5; // r0
v3 = (GameManager *)GameManager::sharedState(this);
GameVariable = (GameManager *)GameManager::getGameVariable(v3, "0024");
if ( !GameVariable )
PlatformToolbox::hideCursor(nullptr);
v5 = GameManager::sharedState(GameVariable);
(*(void (__fastcall **)(_DWORD))(**(_DWORD **)(v5 + 404) + 804))(*(_DWORD *)(v5 + 404));
return (*(int (__fastcall **)(RetryLevelLayer *))(*(_DWORD *)this + 268))(this);
}