//
// sub_100597320 from 0x100597320 to 0x100597376 (86 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b70eb0
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:32:29 +0000
//
__int64 __fastcall sub_100597320(__int64 a1)
{
__int64 v1; // rbx
void (__fastcall ***v2)(_QWORD, __int64); // rdi
v1 = a1 - 336;
*(_BYTE *)(a1 + 521) = 0;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 336) + 1072LL))(a1 - 336, 0);
v2 = *(void (__fastcall ****)(_QWORD, __int64))(a1 + 400);
if ( v2 )
(**v2)(v2, v1);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 528LL))(v1, 1);
}