//
// sub_794258 from 0x794258 to 0x794328 (208 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 12:53:31 +0000
//
void __fastcall sub_794258(_QWORD *a1)
{
_QWORD *v1; // x20
_QWORD *v2; // x21
_QWORD *v3; // x23
_QWORD *v4; // x19
__int64 v5; // x24
char *v6; // x0
char *v7; // x2
_QWORD **v8; // x19
void *v9; // x0
v1 = a1;
if ( a1 )
{
do
{
v2 = (_QWORD *)v1[3];
v3 = (_QWORD *)*v1;
if ( v2 )
{
v4 = (_QWORD *)v1[4];
if ( v2 != v4 )
{
do
{
v5 = (__int64)(v4 - 30);
v1[4] = v4 - 30;
v6 = (char *)*(v4 - 4);
if ( v6 )
{
v7 = (char *)*(v4 - 3);
if ( v6 != v7 )
*(v4 - 3) = &v7[4 * ~((unsigned __int64)(v7 - 4 - v6) >> 2)];
operator delete(v6);
}
v8 = (_QWORD **)*(v4 - 29);
if ( v8 )
{
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
v5,
*v8);
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
v5,
v8[1]);
operator delete(v8);
}
v4 = (_QWORD *)v1[4];
}
while ( v2 != v4 );
v4 = (_QWORD *)v1[3];
}
operator delete(v4);
}
v9 = v1;
v1 = v3;
operator delete(v9);
}
while ( v3 );
}
}