//
// sub_469F0 from 0x469f0 to 0x46a50 (96 bytes)
//
// 0 xrefs:
//
// 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:38 +0000
//
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;
}