//
// GameManager::videoAdShowed from 0x414126 to 0x41414e (40 bytes)
//
// 1 xrefs:
// > Java_com_customRobTop_JniToCpp_videoAdShowed @ 0x395a12
//
// 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:47:39 +0000
//
FMODAudioEngine *__fastcall GameManager::videoAdShowed(GameManager *this)
{
FMODAudioEngine *v2; // r0
FMODAudioEngine *result; // r0
FMODAudioEngine *v4; // r0
v2 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(this);
result = (FMODAudioEngine *)FMODAudioEngine::isMusicPlaying(v2, 0);
if ( result )
{
v4 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(result);
result = FMODAudioEngine::pauseAllMusic(v4, 1);
*((_BYTE *)this + 504) = 1;
}
else
{
*((_BYTE *)this + 504) = 0;
}
return result;
}