//
// GameManager::videoAdShowed from 0x715b80 to 0x715bd4 (84 bytes)
//
// 2 xrefs:
// > Java_com_customRobTop_JniToCpp_videoAdShowed @ 0x642774
// > ??> @ 0x5a6d0
//
// 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:52:16 +0000
//
bool __fastcall GameManager::videoAdShowed(GameManager *this)
{
FMODAudioEngine *v2; // x0
_BOOL8 result; // x0
__int64 v4; // x0
v2 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(this);
result = FMODAudioEngine::isMusicPlaying(v2, 0);
if ( result )
{
v4 = FMODAudioEngine::sharedEngine((FMODAudioEngine *)result);
FMODAudioEngine::pauseAllMusic(v4, 1u);
*((_BYTE *)this + 704) = 1;
return 1;
}
else
{
*((_BYTE *)this + 704) = 0;
}
return result;
}