// // sub_8C06F0 from 0x8c06f0 to 0x8c0a08 (792 bytes) // // 7 xrefs: // > TIFFReadDirectory @ 0x8c0d4c // > TIFFReadDirectory @ 0x8c155c // > TIFFReadDirectory @ 0x8c1654 // > TIFFReadDirectory @ 0x8c1860 // > sub_8C411C @ 0x8c6be4 // > sub_8C6CBC @ 0x8c6d60 // > sub_8C6EC4 @ 0x8c7068 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:03:59 +0000 // int __fastcall sub_8C06F0(int a1, int a2, int a3, const char *a4, int a5) { int result; // r0 if ( a5 ) { switch ( a2 ) { case 1: result = TIFFErrorExt(*(_DWORD *)(a1 + 628), a3, "Incorrect count for \"%s\"; tag ignored", a4); break; case 2: result = TIFFWarningExt(*(_DWORD *)(a1 + 628), a3, "Incompatible type for \"%s\"; tag ignored", a4); break; case 3: result = TIFFWarningExt(*(_DWORD *)(a1 + 628), a3, "IO error during reading of \"%s\"; tag ignored", a4); break; case 4: result = TIFFWarningExt(*(_DWORD *)(a1 + 628), a3, "Incorrect value for \"%s\"; tag ignored", a4); break; case 5: result = TIFFWarningExt( *(_DWORD *)(a1 + 628), a3, "Cannot handle different values per sample for \"%s\"; tag ignored", a4); break; case 6: result = TIFFWarningExt( *(_DWORD *)(a1 + 628), a3, "Sanity check on size of \"%s\" value failed; tag ignored", a4); break; case 7: result = TIFFWarningExt(*(_DWORD *)(a1 + 628), a3, "Out of memory reading of \"%s\"; tag ignored", a4); break; default: LABEL_18: result = _assert2(); break; } } else { switch ( a2 ) { case 1: result = TIFFErrorExt(*(_DWORD *)(a1 + 628), a3, "Incorrect count for \"%s\"", a4); break; case 2: result = TIFFErrorExt(*(_DWORD *)(a1 + 628), a3, "Incompatible type for \"%s\"", a4); break; case 3: result = TIFFErrorExt(*(_DWORD *)(a1 + 628), a3, "IO error during reading of \"%s\"", a4); break; case 4: result = TIFFErrorExt(*(_DWORD *)(a1 + 628), a3, "Incorrect value for \"%s\"", a4); break; case 5: result = TIFFErrorExt(*(_DWORD *)(a1 + 628), a3, "Cannot handle different values per sample for \"%s\"", a4); break; case 6: result = TIFFErrorExt(*(_DWORD *)(a1 + 628), a3, "Sanity check on size of \"%s\" value failed", a4); break; case 7: result = TIFFErrorExt(*(_DWORD *)(a1 + 628), a3, "Out of memory reading of \"%s\"", a4); break; default: goto LABEL_18; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source