//
// _TIFFMultiply32 from 0x69fdd0 to 0x69fe64 (148 bytes)
//
// 5 xrefs:
// > TIFFNumberOfStrips @ 0x6f0158
// > TIFFNumberOfTiles @ 0x6f2790
// > TIFFNumberOfTiles @ 0x6f27f0
// > TIFFNumberOfTiles @ 0x6f2830
// > ??> @ 0x57a9c
//
// 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
//
unsigned int __fastcall TIFFMultiply32(int a1, int a2, unsigned int a3, const char *a4)
{
unsigned int v5; // [sp+14h] [bp-8h]
v5 = a3 * a2;
if ( a3 && v5 / a3 != a2 )
{
TIFFErrorExt(*(_DWORD *)(a1 + 628), a4, "Integer overflow in %s", a4);
return 0;
}
return v5;
}