//
// sub_1005966D0 from 0x1005966d0 to 0x100596724 (84 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:08:47 +0000
//
__int64 __fastcall sub_1005966D0(__int64 a1, int a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6)
{
int v6; // w8
*(_QWORD *)(a1 + 376) = a5;
*(_DWORD *)(a1 + 456) = a2;
if ( a6 == a1 || *(_DWORD *)(a6 + 40) != 9 )
{
if ( !*(_DWORD *)(a1 + 452) )
LABEL_7:
*(_DWORD *)(a1 + 452) = 1152;
}
else
{
v6 = *(_DWORD *)(a6 + 452);
*(_DWORD *)(a1 + 452) = v6;
*(_QWORD *)(a1 + 464) = *(_QWORD *)(a6 + 464);
*(_DWORD *)(a1 + 460) = *(_DWORD *)(a6 + 460);
if ( !v6 )
goto LABEL_7;
}
return sub_100596EA4(a1);
}