// // sub_C34BEC from 0xc34bec to 0xc34d4c (352 bytes) // // 5 xrefs: // > sub_C3879C @ 0xc38900 // > TIFFReadCustomDirectory @ 0xc3be80 // > TIFFReadDirectory @ 0xc3c5a4 // > TIFFReadDirectory @ 0xc3ca2c // > TIFFReadDirectory @ 0xc3caa0 // // 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 // _QWORD *__fastcall sub_C34BEC(_QWORD *result, int a2, __int64 a3, __int64 a4, int a5) { int v5; // w1 v5 = a2 - 1; if ( a5 ) { switch ( v5 ) { case 0: result = (_QWORD *)TIFFErrorExt(*result, a3, "Incorrect count for \"%s\"; tag ignored"); break; case 1: result = (_QWORD *)TIFFWarningExt(*result, a3, "Incompatible type for \"%s\"; tag ignored"); break; case 2: result = (_QWORD *)TIFFWarningExt(*result, a3, "IO error during reading of \"%s\"; tag ignored"); break; case 3: result = (_QWORD *)TIFFWarningExt(*result, a3, "Incorrect value for \"%s\"; tag ignored"); break; case 4: result = (_QWORD *)TIFFWarningExt( *result, a3, "Cannot handle different values per sample for \"%s\"; tag ignored"); break; case 5: result = (_QWORD *)TIFFWarningExt(*result, a3, "Sanity check on size of \"%s\" value failed; tag ignored"); break; case 6: result = (_QWORD *)TIFFWarningExt(*result, a3, "Out of memory reading of \"%s\"; tag ignored"); break; default: return result; } } else { switch ( v5 ) { case 0: result = (_QWORD *)TIFFErrorExt(*result, a3, "Incorrect count for \"%s\""); break; case 1: result = (_QWORD *)TIFFErrorExt(*result, a3, "Incompatible type for \"%s\""); break; case 2: result = (_QWORD *)TIFFErrorExt(*result, a3, "IO error during reading of \"%s\""); break; case 3: result = (_QWORD *)TIFFErrorExt(*result, a3, "Incorrect value for \"%s\""); break; case 4: result = (_QWORD *)TIFFErrorExt(*result, a3, "Cannot handle different values per sample for \"%s\""); break; case 5: result = (_QWORD *)TIFFErrorExt(*result, a3, "Sanity check on size of \"%s\" value failed"); break; case 6: result = (_QWORD *)TIFFErrorExt(*result, a3, "Out of memory reading of \"%s\""); break; default: return result; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source