//
// _TIFFMultiply64 from 0xea2674 to 0xea26b4 (64 bytes)
//
// 23 xrefs:
// > TIFFScanlineSize64 @ 0xed63a0
// > TIFFScanlineSize64 @ 0xed63f0
// > TIFFScanlineSize64 @ 0xed6404
// > TIFFScanlineSize64 @ 0xed64d8
// > TIFFScanlineSize64 @ 0xed64ec
// > TIFFVStripSize64 @ 0xed6558
// > TIFFVStripSize64 @ 0xed6688
// > TIFFVStripSize64 @ 0xed66a0
// > TIFFVStripSize64 @ 0xed66bc
// > TIFFVStripSize64 @ 0xed66d8
// > TIFFVStripSize64 @ 0xed66ec
// > TIFFRasterScanlineSize64 @ 0xed6784
// > TIFFRasterScanlineSize64 @ 0xed67c4
// > TIFFRasterScanlineSize64 @ 0xed67d4
// > TIFFTileRowSize64 @ 0xed8628
// > TIFFTileRowSize64 @ 0xed8670
// > TIFFVTileSize64 @ 0xed86e4
// > TIFFVTileSize64 @ 0xed87e4
// > TIFFVTileSize64 @ 0xed87fc
// > TIFFVTileSize64 @ 0xed8818
// > TIFFVTileSize64 @ 0xed8830
// > TIFFVTileSize64 @ 0xed8848
// > ??> @ 0xea9a0
//
// 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
//
unsigned __int64 __fastcall TIFFMultiply64(__int64 a1, __int64 a2, unsigned __int64 a3, const char *a4)
{
unsigned __int64 v4; // x4
v4 = a2 * a3;
if ( a3 && v4 / a3 != a2 )
{
TIFFErrorExt(*(_QWORD *)(a1 + 952), a4, "Integer overflow in %s", a4);
return 0;
}
return v4;
}