//
// sub_99168 from 0x99168 to 0x99214 (172 bytes)
//
// 1 xrefs:
// > sub_9788C @ 0x97ad8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:14:25 +0000
//
__int64 __fastcall sub_99168(__int64 a1)
{
__int64 v1; // x8
__int64 v2; // x10
__int64 v3; // x12
int v4; // w10
_QWORD v6[4]; // [xsp+0h] [xbp-30h]
void *v7; // [xsp+20h] [xbp-10h]
v7 = &unk_116460;
v1 = *(_QWORD *)(a1 + 376);
if ( *(_DWORD *)(v1 + 18524) )
v2 = 4;
else
v2 = dword_4D5B8[32 * (__int64)*(int *)(v1 + 18548) + 16 * (2LL - *(int *)(v1 + 18512)) + *(int *)(v1 + 18544)];
v3 = v6[v2];
v4 = dword_4D738[v2];
*(_QWORD *)(v1 + 18504) = v3;
*(_DWORD *)(v1 + 18520) = v4;
return 0;
}