//
// sub_1004DA640 from 0x1004da640 to 0x1004da658 (24 bytes)
//
// 7 xrefs:
// > sub_1004ED490 @ 0x1004ed5d0
// > sub_1004EE548 @ 0x1004ee6cc
// > sub_1004EE548 @ 0x1004ee6e0
// > sub_1004EEBDC @ 0x1004eeca0
// > sub_1004EEBDC @ 0x1004eee00
// > sub_1004EF0B0 @ 0x1004ef178
// > sub_1004EF0B0 @ 0x1004ef2d4
//
// 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_1004DA640(__int64 a1, int a2)
{
__int64 v2; // x8
v2 = *(_QWORD *)(a1 + 32);
if ( v2 )
return *(unsigned int *)(v2 + 4LL * a2);
else
return 0xFFFFFFFFLL;
}