// // sub_EE2278 from 0xee2278 to 0xee24f0 (632 bytes) // // 1 xrefs: // > sub_EE689C @ 0xee6d8c // // 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:11:49 +0000 // __int64 __fastcall sub_EE2278(__int64 a1, const void *a2) { __int64 v4; // x0 _QWORD *v5; // x22 __int64 v6; // x0 int v8; // w0 int v9; // w3 __int64 v10; // x21 int v11; // w1 int v12; // w0 __int64 v13; // x2 int v14; // w0 __int64 v15; // x0 _BOOL4 v16; // w21 __int64 v17; // x0 if ( !a1 ) return 0; if ( !a2 ) { if ( !*(_DWORD *)a1 ) { *(_DWORD *)a1 = 2; *(_DWORD *)(a1 + 4) = 0; *(_QWORD *)(a1 + 8) = "NULL VP8Io parameter in VP8Decode()."; return 0; } return 0; } if ( !*(_DWORD *)(a1 + 4) && !(unsigned int)sub_EE1754(a1, (__int64)a2) ) return 0; v4 = sub_EDC0B0((char *)a1, (__int64)a2); if ( (_DWORD)v4 ) { LABEL_6: v5 = (_QWORD *)(a1 + 16); LABEL_7: v6 = WebPGetWorkerInterface(v4); (*(void (__fastcall **)(__int64))(v6 + 40))(a1 + 152); sub_EDA5B4(*(_QWORD **)(a1 + 2960)); *(_QWORD *)(a1 + 2960) = 0; WebPSafeFree(*(void **)(a1 + 2888)); *(_QWORD *)(a1 + 2888) = 0; *(_QWORD *)(a1 + 2896) = 0; *v5 = 0; v5[1] = 0; v5[2] = 0; v5[3] = 0; v5[4] = 0; v5[5] = 0; *(_DWORD *)(a1 + 4) = 0; return 0; } if ( !(unsigned int)sub_EDC3FC(a1, (__int64)a2) ) { LABEL_9: v5 = (_QWORD *)(a1 + 16); LABEL_10: v4 = sub_EDC37C(a1, (__int64)a2); goto LABEL_7; } v8 = *(_DWORD *)(a1 + 428); v5 = (_QWORD *)(a1 + 16); *(_DWORD *)(a1 + 2908) = 0; v9 = 0; if ( v8 > 0 ) { while ( 1 ) { v10 = a1 + 48LL * (v9 & (*(_DWORD *)(a1 + 432) - 1)) + 440; if ( !sub_EDF6E4(a1 + 16, a1) ) { if ( *(_DWORD *)a1 ) goto LABEL_9; *(_DWORD *)a1 = 7; *(_DWORD *)(a1 + 4) = 0; *(_QWORD *)(a1 + 8) = "Premature end-of-partition0 encountered."; goto LABEL_10; } if ( *(_DWORD *)(a1 + 408) > *(_DWORD *)(a1 + 2904) ) { while ( sub_EE1DFC(a1, v10) ) { v11 = *(_DWORD *)(a1 + 408); v12 = *(_DWORD *)(a1 + 2904) + 1; *(_DWORD *)(a1 + 2904) = v12; if ( v12 >= v11 ) goto LABEL_23; } if ( !*(_DWORD *)a1 ) { *(_DWORD *)a1 = 7; *(_DWORD *)(a1 + 4) = 0; *(_QWORD *)(a1 + 8) = "Premature end-of-file encountered."; goto LABEL_10; } goto LABEL_9; } LABEL_23: v13 = *(_QWORD *)(a1 + 2832); *(_BYTE *)(v13 - 2) = 0; *(_BYTE *)(v13 - 1) = 0; *(_DWORD *)(a1 + 2816) = 0; *(_DWORD *)(a1 + 2904) = 0; if ( !(unsigned int)sub_EDBF54(a1, a2) ) break; v14 = *(_DWORD *)(a1 + 428); v9 = *(_DWORD *)(a1 + 2908) + 1; *(_DWORD *)(a1 + 2908) = v9; if ( v9 >= v14 ) goto LABEL_25; } if ( *(_DWORD *)a1 ) goto LABEL_9; *(_DWORD *)a1 = 6; *(_DWORD *)(a1 + 4) = 0; *(_QWORD *)(a1 + 8) = "Output aborted."; goto LABEL_10; } LABEL_25: v15 = *(unsigned int *)(a1 + 200); v16 = 1; if ( (int)v15 > 0 ) { v17 = WebPGetWorkerInterface(v15); v16 = (*(__int64 (__fastcall **)(__int64))(v17 + 16))(a1 + 152) != 0; } v4 = sub_EDC37C(a1, (__int64)a2); if ( ((unsigned int)v4 & v16) == 0 ) goto LABEL_6; *(_DWORD *)(a1 + 4) = 0; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source