//
// sub_1004E7DAC from 0x1004e7dac to 0x1004e7dd0 (36 bytes)
//
// 1 xrefs:
// > sub_100461BD8 @ 0x100461c7c
//
// 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_1004E7DAC(__int64 a1, int a2)
{
if ( **(_DWORD **)a1 != 9 )
return 0;
*(_DWORD *)(*(_QWORD *)a1 + 24LL) = a2;
return 1;
}