//
// sub_10096B7B0 from 0x10096b7b0 to 0x10096b7f0 (64 bytes)
//
// 0 xrefs:
//
// 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:38:50 +0000
//
__int64 __fastcall sub_10096B7B0(__int64 a1, unsigned int a2)
{
__int64 result; // rax
__int64 v3; // rdi
__int16 v4; // [rsp+Ch] [rbp-4h] BYREF
char v5; // [rsp+Eh] [rbp-2h]
v4 = a2;
result = HIWORD(a2);
v5 = BYTE2(a2);
*(_BYTE *)(a1 + 498) = BYTE2(a2);
*(_WORD *)(a1 + 496) = a2;
v3 = *(_QWORD *)(a1 + 488);
if ( v3 )
return (*(__int64 (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v3 + 1216LL))(v3, &v4);
return result;
}