//
// FMOD::Channel::getLoopPoints from 0xad8d8 to 0xad966 (142 bytes)
//
// 1 xrefs:
// > FMOD::Channel::getLoopPoints @ 0xe0bb8
//
// 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:41:39 +0000
//
int __fastcall FMOD::Channel::getLoopPoints(
FMOD::Channel *this,
unsigned int *a2,
unsigned int a3,
unsigned int *a4,
unsigned int a5)
{
int v9; // r4
_BYTE v11[256]; // [sp+8h] [bp-120h] BYREF
int v12; // [sp+108h] [bp-20h] BYREF
int v13; // [sp+10Ch] [bp-1Ch] BYREF
if ( a2 )
*a2 = 0;
if ( a4 )
*a4 = 0;
v12 = 0;
v9 = FMOD::ChannelI::validate(this, &v13, &v12);
if ( v9 || (v9 = sub_4B058(v13, a2, a3, (int *)a4, a5)) != 0 )
{
if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )
{
sub_AD970(v11, 256, a2, a3, a4, a5);
sub_BAB40(v9, 2, this, "Channel::getLoopPoints", v11);
}
}
else
{
v9 = 0;
}
sub_444C0(&v12);
return v9;
}