//
// sub_B3FE0 from 0xb3fe0 to 0xb3ff8 (24 bytes)
//
// 7 xrefs:
// > sub_4A7D4 @ 0x4a85a
// > sub_60B04 @ 0x60bd0
// > sub_60B04 @ 0x60bfa
// > sub_60C62 @ 0x60cf8
// > sub_60C62 @ 0x60d06
// > sub_65494 @ 0x6565a
// > sub_65494 @ 0x65798
//
// 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:42 +0000
//
int __fastcall sub_B3FE0(int a1, int a2, int a3)
{
int *v3; // r0
if ( !a2 )
return 31;
v3 = *(int **)(a1 + 32);
if ( v3 )
return sub_4C98C(v3, a2, -1, a3);
else
return 2;
}