// // sub_6BBF78 from 0x6bbf78 to 0x6bc0fc (388 bytes) // // 1 xrefs: // > sub_6B8210 @ 0x6b8b18 // // 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_6BBF78(int a1, _DWORD *a2, int a3) { int v8; // [sp+1Ch] [bp-10h] int v9; // [sp+20h] [bp-Ch] int v10; // [sp+24h] [bp-8h] if ( a3 ) { v8 = 1 << *(_WORD *)(a1 + 84); v9 = TIFFmalloc(6 * v8); if ( v9 ) { TIFFmemcpy(v9, *(_DWORD *)(a1 + 140), 2 * v8); TIFFmemcpy(v9 + 2 * v8, *(_DWORD *)(a1 + 144), 2 * v8); TIFFmemcpy(v9 + 4 * v8, *(_DWORD *)(a1 + 148), 2 * v8); v10 = sub_6BC84C(a1, a2, a3, 320, 3 * v8, v9); TIFFfree(v9); return v10; } else { TIFFErrorExt(*(_DWORD *)(a1 + 628), "TIFFWriteDirectoryTagColormap", "Out of memory"); return 0; } } else { ++*a2; return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source