//
// TIFFRGBAImageGet from 0x8da5ac to 0x8da694 (232 bytes)
//
// 4 xrefs:
// > TIFFReadRGBAImageOriented @ 0x8da784
// > TIFFReadRGBAStrip @ 0x8e684c
// > TIFFReadRGBATile @ 0x8e6b24
// > ??> @ 0x6b44c
//
// 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:04:07 +0000
//
int __fastcall TIFFRGBAImageGet(_DWORD *a1, int a2, int a3, int a4)
{
int v4; // r4
int v5; // r0
int v7; // r4
int v8; // r0
if ( a1[12] )
{
if ( a1[13] )
{
return ((int (__fastcall *)(_DWORD *, int, int, int))a1[12])(a1, a2, a3, a4);
}
else
{
v7 = *(_DWORD *)(*a1 + 628);
v8 = TIFFFileName(*a1);
TIFFErrorExt(v7, v8, "No \"put\" routine setupl; probably can not handle image format");
return 0;
}
}
else
{
v4 = *(_DWORD *)(*a1 + 628);
v5 = TIFFFileName(*a1);
TIFFErrorExt(v4, v5, "No \"get\" routine setup");
return 0;
}
}