// // sub_6D6850 from 0x6d6850 to 0x6d699c (332 bytes) // // 4 xrefs: // > sub_6D5E60 @ 0x6d5f40 // > sub_6D5E60 @ 0x6d5fdc // > sub_6D6548 @ 0x6d6620 // > sub_6D6548 @ 0x6d66bc // // 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_6D6850(_DWORD *a1) { _BYTE *v4; // [sp+8h] [bp-Ch] unsigned __int16 i; // [sp+Ch] [bp-8h] unsigned __int16 j; // [sp+Eh] [bp-6h] if ( a1[19] ) _assert2(); a1[19] = TIFFmalloc(0x10000); if ( a1[19] ) { v4 = (_BYTE *)a1[19]; for ( i = 0; i <= 0xFFu; ++i ) { for ( j = 0; j <= 0xFFu; ++j ) *v4++ = -(char)(i * j + 127); } return 1; } else { TIFFErrorExt(*(_DWORD *)(*a1 + 628), (int)"BuildMapUaToAa", "Out of memory"); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source