// // sub_6D69B0 from 0x6d69b0 to 0x6d6ac8 (280 bytes) // // 6 xrefs: // > sub_6D5E60 @ 0x6d5f90 // > sub_6D5E60 @ 0x6d5fc8 // > sub_6D5E60 @ 0x6d6004 // > sub_6D6548 @ 0x6d6670 // > sub_6D6548 @ 0x6d66a8 // > sub_6D6548 @ 0x6d66e4 // // 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_6D69B0(_DWORD *a1) { _BYTE *v4; // [sp+8h] [bp-Ch] unsigned int i; // [sp+Ch] [bp-8h] if ( a1[20] ) _assert2(); a1[20] = TIFFmalloc(0x10000); if ( a1[20] ) { v4 = (_BYTE *)a1[20]; for ( i = 0; i <= 0xFFFF; ++i ) *v4++ = (i + 128) / 0x101; return 1; } else { TIFFErrorExt(*(_DWORD *)(*a1 + 628), (int)"BuildMapBitdepth16To8", "Out of memory"); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source