//
// sub_977C58 from 0x977c58 to 0x977c66 (14 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:05:59 +0000
//
unsigned int __fastcall sub_977C58(unsigned __int8 *a1)
{
unsigned int v1; // r1
v1 = *a1;
if ( (v1 & 1) != 0 )
return *((_DWORD *)a1 + 1);
else
return v1 >> 1;
}