//
// sub_682B8 from 0x682b8 to 0x68300 (72 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:56 +0000
//
int __fastcall sub_682B8(int *a1, int a2, int *a3, int a4)
{
int v4; // r0
int v5; // r0
int v6; // r4
v4 = *a1;
if ( a2 == 2 )
{
v6 = *(_DWORD *)(v4 + 512);
*a3 = v6;
if ( a4 )
sub_BE420(a4, 32, "%d", v6);
return 0;
}
if ( a2 == 3 )
{
v5 = *(_DWORD *)(v4 + 524);
*a3 = v5;
if ( a4 )
sub_BE220(a4, off_E8AC4[v5 + 3], 32);
return 0;
}
return 31;
}