//
// sub_692EE from 0x692ee to 0x692f4 (6 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_692EE(int *a1, int a2, _DWORD *a3, _BYTE *a4)
{
_DWORD *v4; // r0
int result; // r0
int v6; // r0
v6 = *a1;
if ( !a3 )
return 31;
if ( a2 != 4 )
{
if ( a2 == 1 )
{
v4 = (_DWORD *)(v6 + 500);
goto LABEL_7;
}
return 31;
}
v4 = (_DWORD *)(v6 + 512);
LABEL_7:
*a3 = *v4;
result = 0;
if ( a4 )
*a4 = 0;
return result;
}