//
// sub_100454D94 from 0x100454d94 to 0x100454e64 (208 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_100454D94(__int64 a1, int a2)
{
__int64 result; // x0
int v4; // w3
int v5; // w4
int v6; // w5
int v7; // w6
int v8; // w7
int v9; // [xsp+0h] [xbp-120h]
_BYTE v10[256]; // [xsp+8h] [xbp-118h] BYREF
*(_DWORD *)(a1 + 368) = a2;
result = sub_1004B5AD8(a1 + 360, 0);
if ( !(_DWORD)result )
{
sub_1004C7414((int)v10, 0x100u, (int)"FMOD nonblocking thread (%d)", v4, v5, v6, v7, v8, *(_DWORD *)(a1 + 368));
LOBYTE(v9) = 1;
result = sub_1004D5434(a1, v10, sub_1004546E0, a1, 4, 1, 0, 0, v9);
if ( !(_DWORD)result )
*((_QWORD *)off_1008524C8 + *(int *)(a1 + 368) + 40) = *(_QWORD *)(a1 + 272);
}
return result;
}