// // sub_6B374C from 0x6b374c to 0x6b38f0 (420 bytes) // // 1 xrefs: // > TIFFReadCustomDirectory @ 0x6b2ec0 // // 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_6B374C(_DWORD *a1, unsigned __int16 *a2, unsigned int a3) { const char *v3; // r12 const char *v5; // r12 int v10; // [sp+20h] [bp-Ch] int v11; // [sp+24h] [bp-8h] if ( (unsigned __int64)a3 <= *((_QWORD *)a2 + 1) ) { if ( *((_QWORD *)a2 + 1) > (unsigned __int64)a3 ) { v11 = TIFFFieldWithTag((int)a1, *a2); if ( v11 ) v5 = *(const char **)(v11 + 28); else v5 = "unknown tagname"; TIFFWarningExt( a1[157], *a1, "incorrect count for field \"%s\" (%llu, expecting %u); tag trimmed", v5, *((_QWORD *)a2 + 1), a3); *((_QWORD *)a2 + 1) = a3; return 1; } else { return 1; } } else { v10 = TIFFFieldWithTag((int)a1, *a2); if ( v10 ) v3 = *(const char **)(v10 + 28); else v3 = "unknown tagname"; TIFFWarningExt( a1[157], *a1, "incorrect count for field \"%s\" (%llu, expecting %u); tag ignored", v3, *((_QWORD *)a2 + 1), a3); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source