//
// sub_100447C68 from 0x100447c68 to 0x100447d20 (184 bytes)
//
// 0 xrefs:
//
// 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_100447C68(int *a1, __int64 a2, __int64 a3, __int64 a4, int a5)
{
int v5; // w9
int v6; // w10
int v7; // w9
int v8; // w9
__int64 v9; // x9
__int64 v10; // x10
__int64 v11; // x8
if ( !a4 )
return 0;
*(_DWORD *)(a4 + 32) = *(_DWORD *)(a3 + 32);
v5 = **(_DWORD **)(a3 + 8);
**(_DWORD **)(a4 + 8) = v5;
v6 = v5 == 2 ? 1 : 2;
v7 = v5 == 1 ? 0 : v6;
a1[139] = v7;
if ( !a5 )
return 0;
v8 = a1[136];
if ( v8 != 1
&& (v8
|| (v9 = qword_100886E60[a1[56]],
v10 = a1[135],
v11 = 1LL - *(int *)(v9 + 112 * v10 + 108),
*(_BYTE *)(v9 + 112 * v10 + v11 + 100))
|| *(_BYTE *)(v9 + 112 * v10 + v11 + 102)
|| *(_BYTE *)(v9 + 112 * v10 + v11 + 104)) )
{
return 0;
}
else
{
return 11;
}
}