//
// sub_10039E8E0 from 0x10039e8e0 to 0x10039e8fc (28 bytes)
//
// 1 xrefs:
// > ??> @ 0x10080bcd0
//
// 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_10039E8E0(__int64 result, int a2)
{
if ( a2 == 1009 )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(result - 344) + 1096LL))(result - 344);
return result;
}