//
// _TIFFMultiply32 from 0xea2634 to 0xea2674 (64 bytes)
//
// 5 xrefs:
// > TIFFNumberOfStrips @ 0xed62e8
// > TIFFNumberOfTiles @ 0xed8534
// > TIFFNumberOfTiles @ 0xed8564
// > TIFFNumberOfTiles @ 0xed8594
// > ??> @ 0x5f080
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:11:07 +0000
//
__int64 __fastcall TIFFMultiply32(__int64 a1, int a2, unsigned int a3, const char *a4)
{
unsigned int v4; // w4
v4 = a2 * a3;
if ( a3 && v4 / a3 != a2 )
{
TIFFErrorExt(*(_QWORD *)(a1 + 952), a4, "Integer overflow in %s", a4);
return 0;
}
return v4;
}