//
// sub_DF9458 from 0xdf9458 to 0xdf954c (244 bytes)
//
// 1 xrefs:
// > sub_E0B168 @ 0xe0b1c0
//
// 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 13:09:21 +0000
//
__int64 __fastcall sub_DF9458(_QWORD *a1, _QWORD *a2)
{
const char **v4; // x21
void **v5; // x19
const char *v6; // x20
char *v7; // x0
unsigned int v8; // w19
__int64 v10; // x0
__int64 v11; // x20
__int64 v12; // x0
memcpy(a1 + 68, a2 + 68, 0x6E8u);
v4 = (const char **)(a2 + 206);
v5 = (void **)(a1 + 206);
memset(a1 + 206, 0, 0x1E8u);
do
{
v6 = *v4;
off_154A3C8(*v5);
*v5 = nullptr;
if ( v6 )
{
v7 = off_154A3D8(v6);
if ( !v7 )
return 27;
*v5 = v7;
}
++v5;
++v4;
}
while ( v5 != a1 + 265 );
v10 = a2[84];
v8 = 0;
if ( v10 )
{
v11 = a2[266];
if ( v11 )
{
nullsub_13(v10);
v12 = sub_E192E8(v11);
a1[266] = v12;
if ( !v12 )
return 27;
a1[82] = v12;
}
}
return v8;
}