//
// sub_100529488 from 0x100529488 to 0x1005294d0 (72 bytes)
//
// 7 xrefs:
// > sub_10051CF68 @ 0x10051daa4
// > sub_100521AE0 @ 0x1005223f4
// > sub_100526DBC @ 0x100526ddc
// > sub_100526EB0 @ 0x100526ec8
// > sub_1005366D4 @ 0x10053676c
// > sub_100537D24 @ 0x10053882c
// > sub_100538A48 @ 0x100539340
//
// 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_100529488(__int64 a1)
{
__int64 v2; // x8
__int64 result; // x0
v2 = *(_QWORD *)(a1 + 128);
result = *(_QWORD *)(v2 + 1008);
if ( result )
{
sub_10058A3A8(result, *(int *)(v2 + 1004));
result = sub_100588C44(*(void **)(*(_QWORD *)(a1 + 128) + 1008LL));
v2 = *(_QWORD *)(a1 + 128);
*(_QWORD *)(v2 + 1008) = 0;
}
*(_DWORD *)(v2 + 1004) = 0;
return result;
}