// // sub_64D010 from 0x64d010 to 0x64d088 (120 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall sub_64D010(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