//
// sub_10032B140 from 0x10032b140 to 0x10032b197 (87 bytes)
//
// 3 xrefs:
// > ??> @ 0x1008e11a8
// > ??> @ 0x100914ed8
// > ??> @ 0x10098e5d8
//
// 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_10032B140(__int64 a1, char a2)
{
__int64 v2; // rax
__int64 v3; // rax
int v5; // [rsp+0h] [rbp-1Ch] BYREF
v5 = HIDWORD(v2);
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(a1 - 320) + 928LL))(a1 - 320);
BYTE2(v5) = *(_BYTE *)(v3 + 2);
LOWORD(v5) = *(_WORD *)v3;
*(_BYTE *)(a1 + 64) = a2;
return (*(__int64 (__fastcall **)(__int64, int *))(*(_QWORD *)(a1 - 320) + 944LL))(a1 - 320, &v5);
}