// // sub_6BBD94 from 0x6bbd94 to 0x6bbf68 (468 bytes) // // 1 xrefs: // > sub_6B8210 @ 0x6ba0a4 // // 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_6BBD94(int a1, _DWORD *a2, int a3, unsigned __int16 a4, unsigned int a5, _DWORD *a6) { _DWORD *v12; // [sp+1Ch] [bp-18h] unsigned int i; // [sp+20h] [bp-14h] int v14; // [sp+24h] [bp-10h] _DWORD *v15; // [sp+28h] [bp-Ch] int v16; // [sp+2Ch] [bp-8h] if ( a3 ) { if ( (*(_DWORD *)(a1 + 12) & 0x80000) != 0 ) { return sub_6BD7B0(a1, a2, a3, a4, a5, a6); } else { v14 = TIFFmalloc(4 * a5); if ( v14 ) { v15 = (_DWORD *)v14; v12 = a6; for ( i = 0; i < a5; ++i ) { if ( v12[1] ) { TIFFErrorExt( *(_DWORD *)(a1 + 628), "TIFFWriteDirectoryTagIfdIfd8Array", "Attempt to write value larger than 0xFFFFFFFF in Classic TIFF file."); TIFFfree(v14); return 0; } *v15 = *v12; v12 += 2; ++v15; } v16 = sub_6BD6E8(a1, a2, a3, a4, a5, v14); TIFFfree(v14); return v16; } else { TIFFErrorExt(*(_DWORD *)(a1 + 628), "TIFFWriteDirectoryTagIfdIfd8Array", "Out of memory"); return 0; } } } else { ++*a2; return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source