//
// sub_DEA0F0 from 0xdea0f0 to 0xdea1a8 (184 bytes)
//
// 1 xrefs:
// > sub_DEA0F0 @ 0xdea158
//
// 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:13 +0000
//
__int64 __fastcall sub_DEA0F0(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x0
__int64 v3; // x21
__int64 v4; // x0
v1 = result;
if ( result )
{
do
{
v3 = *(_QWORD *)v1;
sub_DEA0F0(*(_QWORD *)(v1 + 72));
v4 = *(_QWORD *)(v1 + 80);
if ( (v4 & 4) != 0 )
{
if ( (v4 & 0x58) == 0 )
goto LABEL_7;
}
else
{
off_154A3C8(*(void **)(v1 + 8));
if ( (*(_QWORD *)(v1 + 80) & 0x58LL) == 0 )
LABEL_7:
off_154A3C8(*(void **)(v1 + 24));
}
off_154A3C8(*(void **)(v1 + 56));
off_154A3C8(*(void **)(v1 + 88));
v2 = v1;
v1 = v3;
result = ((__int64 (__fastcall *)(__int64))off_154A3C8)(v2);
}
while ( v3 );
}
return result;
}