//
// sub_100529D20 from 0x100529d20 to 0x100529da0 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x10085b678
//
// 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_100529D20(__int64 a1, __int64 a2, int a3, __int64 a4)
{
int v8; // w0
int v9; // w23
int v10; // w0
v8 = sub_1005299EC(a1, 4, a2, a3, a4);
v9 = v8;
if ( !v8 )
return 0;
v10 = sub_1005299EC(a1, 64, a2, a3, a4 + v8);
if ( v10 )
return (unsigned int)(v10 + v9);
else
return 0;
}