// // sub_885EA8 from 0x885ea8 to 0x885fca (290 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:03:14 +0000 // int __fastcall sub_885EA8(int result) { _DWORD *v1; // r4 _DWORD *v2; // r5 int v3; // r1 int v4; // r12 _WORD *v5; // r3 int v6; // r2 int v7; // r7 int *v8; // r3 int v9; // r7 bool v10; // zf int v11; // r7 int v12; // r7 int v13; // r7 v1 = (_DWORD *)result; v2 = *(_DWORD **)(result + 452); if ( v2[4] ) { if ( *(_DWORD *)(result + 80) && *(_DWORD *)(result + 224) && *(_DWORD *)(result + 160) ) { v3 = v2[28]; if ( !v3 ) { result = (**(int (***)(void))(result + 4))(); v3 = result; v2[28] = result; } v4 = v1[54]; if ( (int)v1[9] > 0 ) { v5 = *(_WORD **)(v4 + 80); if ( v5 ) { if ( *v5 && v5[1] && v5[8] && v5[16] ) { v6 = 0; result = 0; do { v7 = result << 8; v4 += 88; ++result; if ( !v5[9] ) break; if ( !v5[2] ) break; v8 = (int *)(v1[40] + v7); if ( *v8 < 0 ) break; v3 += 24; *(_DWORD *)(v3 - 20) = v8[1]; v9 = v8[1]; *(_DWORD *)(v3 - 16) = v8[2]; v10 = v9 == 0; v11 = v8[2]; if ( !v10 ) v6 = 1; *(_DWORD *)(v3 - 12) = v8[3]; v10 = v11 == 0; v12 = v8[3]; if ( !v10 ) v6 = 1; *(_DWORD *)(v3 - 8) = v8[4]; v10 = v12 == 0; v13 = v8[4]; if ( !v10 ) v6 = 1; *(_DWORD *)(v3 - 4) = v8[5]; if ( v13 ) v6 = 1; if ( v8[5] ) v6 = 1; if ( result >= v1[9] ) { if ( !v6 ) break; v2[3] = sub_885FD4; v1[39] = 0; return result; } v5 = *(_WORD **)(v4 + 80); } while ( v5 && *v5 && v5[1] && v5[8] && v5[16] ); } } } } v2[3] = sub_885D70; } v1[39] = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source