//
// FMOD::SystemI::validate from 0x56b78 to 0x56bb6 (62 bytes)
//
// 1 xrefs:
// > FMOD::SystemI::validate @ 0xe2fb8
//
// 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:40:46 +0000
//
int __fastcall FMOD::SystemI::validate(int a1, int *a2, _DWORD *a3)
{
int v4; // r0
int v5; // r5
int result; // r0
v4 = 0;
*a2 = 0;
do
{
if ( v4 == 8 )
return 30;
v5 = *((_DWORD *)off_E8000 + v4++ + 75);
}
while ( v5 != a1 );
*a2 = a1;
if ( !a1 )
return 30;
if ( !a3 )
return 0;
result = sub_431D0(a3, a1);
if ( !result )
return 0;
return result;
}