//
// sub_100514898 from 0x100514898 to 0x1005148e4 (76 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
//
__int64 __fastcall sub_100514898(__int64 a1, int a2, unsigned int *a3, char *a4, int a5, int a6, int a7, int a8)
{
unsigned int v8; // w8
char vars0; // [xsp+0h] [xbp+0h]
if ( a2 == 5 )
{
v8 = *(_DWORD *)(a1 + 9732);
*a3 = v8;
if ( a4 )
{
if ( v8 <= 2 )
sub_1004C7414(a4, 0x20u, off_10082A640[v8], (int)a4, a5, a6, a7, a8, vars0);
}
}
return 0;
}