//
// sub_469F0 from 0x469f0 to 0x46a50 (96 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall sub_469F0(int a1, unsigned int a2, int a3)
{
int v6; // r0
int result; // r0
if ( !*(_DWORD *)(a1 + 128) )
return 30;
if ( sub_44D38((_DWORD *)a1, a2, a3) )
return 0;
if ( (*(int (__fastcall **)(_DWORD, unsigned int, int, unsigned int, int))(**(_DWORD **)(a1 + 20) + 156))(
*(_DWORD *)(a1 + 20),
a2,
2,
a2 + a3 - 1,
2) )
{
return 0;
}
v6 = *(_DWORD *)(*(_DWORD *)(a1 + 20) + 64);
__dmb(0xBu);
if ( (v6 & 0x80) == 0 )
return 0;
result = (*(int (__fastcall **)(_DWORD, unsigned int, int))(**(_DWORD **)(a1 + 128) + 72))(
*(_DWORD *)(a1 + 128),
a2,
a3);
if ( !result )
return 0;
return result;
}