// // sub_6BB43C from 0x6bb43c to 0x6bb570 (308 bytes) // // 4 xrefs: // > sub_6B8210 @ 0x6b8654 // > sub_6B8210 @ 0x6b8874 // > sub_6B8210 @ 0x6b88b8 // > sub_6B8210 @ 0x6b8bcc // // 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_6BB43C(int a1, _DWORD *a2, int a3, unsigned __int16 a4, __int16 a5) { int v11; // [sp+18h] [bp-14h] _WORD *v12; // [sp+1Ch] [bp-10h] unsigned __int16 i; // [sp+22h] [bp-Ah] int v14; // [sp+24h] [bp-8h] if ( a3 ) { v11 = TIFFmalloc(2 * *(unsigned __int16 *)(a1 + 98)); if ( v11 ) { v12 = (_WORD *)v11; for ( i = 0; i < (unsigned int)*(unsigned __int16 *)(a1 + 98); ++i ) *v12++ = a5; v14 = sub_6BC84C(a1, a2, a3, a4, *(unsigned __int16 *)(a1 + 98), v11); TIFFfree(v11); return v14; } else { TIFFErrorExt(*(_DWORD *)(a1 + 628), "TIFFWriteDirectoryTagShortPerSample", "Out of memory"); return 0; } } else { ++*a2; return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source