//
// sub_1004EBDBC from 0x1004ebdbc to 0x1004ebdec (48 bytes)
//
// 1 xrefs:
// > sub_1004EC2DC @ 0x1004ec36c
//
// 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_1004EBDBC(__int64 a1, int a2)
{
int *v2; // x8
v2 = *(int **)(a1 + 32);
if ( a2 && *v2 < 65 )
return 0xFFFFFFFFLL;
v2[1226] = a2 != 0;
return 0;
}