//
// sub_100355210 from 0x100355210 to 0x10035527b (107 bytes)
//
// 2 xrefs:
// > ??> @ 0x100916250
// > ??> @ 0x1009479b8
//
// 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_100355210(__int64 a1, __int64 a2)
{
unsigned __int8 v2; // al
*(_BYTE *)(a1 + 204) = 0;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 320) + 1280LL))(a1 - 320, 0);
v2 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)(a1 - 320) + 1336LL))(a1 - 320, a2);
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 320) + 1304LL))(a1 - 320, 32 * (v2 ^ 1u) + 32);
}