//
// sub_100472368 from 0x100472368 to 0x1004723d0 (104 bytes)
//
// 1 xrefs:
// > sub_100470740 @ 0x100470974
//
// 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_100472368(__int64 a1)
{
__int64 v1; // x8
__int64 v2; // x10
int v3; // w11
v1 = *(_QWORD *)(a1 + 376);
if ( *(_DWORD *)(v1 + 18524) )
v2 = 4;
else
v2 = dword_100649D30[32 * (__int64)*(int *)(v1 + 18548) + 16 * (2LL - *(int *)(v1 + 18512)) + *(int *)(v1 + 18544)];
v3 = dword_100649EB0[v2];
*(_QWORD *)(v1 + 18504) = *(&off_100827DD8 + v2);
*(_DWORD *)(v1 + 18520) = v3;
return 0;
}