//
// sub_1005B8A40 from 0x1005b8a40 to 0x1005b8ab4 (116 bytes)
//
// 2 xrefs:
// > sub_1005BB124 @ 0x1005bb160
// > sub_1005BB504 @ 0x1005bb50c
//
// 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_1005B8A40(__int64 a1, __int64 a2)
{
if ( !sub_1005AAFFC(a1 + 104, a2 + 104) )
return 0;
if ( !sub_1005AAFFC(a1 + 152, a2 + 152) )
return 0;
if ( !sub_1005AAFFC(a1 + 176, a2 + 176) )
return 0;
*(_DWORD *)(a1 + 200) = *(_DWORD *)(a2 + 200);
return 1;
}