// // sub_85D090 from 0x85d090 to 0x85d108 (120 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:02:41 +0000 // int __fastcall sub_85D090(int **a1) { int *v1; // r6 int v2; // r3 int v4; // r1 int v5; // r2 int v6; // r3 int v7; // r0 int v8; // r1 FILE *v10; // r0 int v11; // [sp+0h] [bp-18h] BYREF _DWORD v12[4]; // [sp+4h] [bp-14h] BYREF int v13; // [sp+14h] [bp-4h] v1 = *a1; v2 = **a1; if ( !v2 ) return 0; if ( (v1[5] & 2) != 0 ) { v10 = *(FILE **)(v2 + 288); *((_BYTE *)v1 + 20) &= ~2u; if ( v10 ) { *(_DWORD *)(v2 + 288) = 0; fclose(v10); } } v4 = v1[1]; v5 = v1[2]; v6 = v1[3]; v11 = *v1; v12[0] = v4; v12[1] = v5; v12[2] = v6; v7 = v1[4]; v8 = v1[5]; *a1 = &v11; v12[3] = v7; v13 = v8; png_free(v11, v1); if ( (v13 & 1) != 0 ) png_destroy_write_struct(&v11, v12); else png_destroy_read_struct(&v11); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source