//
// sub_9798B4 from 0x9798b4 to 0x9798c6 (18 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 12:06:01 +0000
//
_DWORD *__fastcall sub_9798B4(_DWORD *result, int a2)
{
int v2; // r1
if ( (*(_BYTE *)a2 & 1) != 0 )
v2 = *(_DWORD *)(a2 + 8);
else
v2 = a2 + 4;
*result = v2;
result[1] = v2;
return result;
}