//
// sub_100528C18 from 0x100528c18 to 0x100528c48 (48 bytes)
//
// 23 xrefs:
// > sub_10052B0A8 @ 0x10052b814
// > sub_10053A8A4 @ 0x10053ad00
// > ??> @ 0x10082a6a8
// > ??> @ 0x10082a790
// > ??> @ 0x10082a878
// > ??> @ 0x10082ab50
// > ??> @ 0x10082ac38
// > ??> @ 0x10082ad20
// > ??> @ 0x10082ae30
// > ??> @ 0x10082af18
// > ??> @ 0x10082b000
// > ??> @ 0x10082b110
// > ??> @ 0x10082b1f8
// > ??> @ 0x10082b2e0
// > ??> @ 0x10082b3e8
// > ??> @ 0x10082b4d0
// > ??> @ 0x10082b5b8
// > ??> @ 0x10082b6a0
// > ??> @ 0x10082b788
// > ??> @ 0x10082b870
// > ??> @ 0x10082b958
// > ??> @ 0x10082ba40
// > ??> @ 0x10082bb28
//
// 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_100528C18(__int64 a1)
{
__int64 v1; // x8
if ( !*(_QWORD *)(a1 + 48) )
return 1;
v1 = *(_QWORD *)(a1 + 128);
if ( (*(_BYTE *)v1 & 1) != 0 )
return 0;
*(_DWORD *)(v1 + 476) = 1;
return 1;
}