//
// TIFFCheckpointDirectory from 0xeb7c0c to 0xeb7c80 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0xed250
//
// 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:27 +0000
//
__int64 __fastcall TIFFCheckpointDirectory(__int64 a1)
{
unsigned int v2; // w20
__int64 v3; // x0
if ( !*(_QWORD *)(a1 + 232) )
TIFFSetupStrips();
v2 = 1;
if ( *(_DWORD *)(a1 + 12) )
v2 = sub_EB4C98(a1, 1, 0, nullptr);
v3 = (*(__int64 (__fastcall **)(_QWORD, _QWORD, __int64))(a1 + 976))(*(_QWORD *)(a1 + 952), 0, 2);
TIFFSetWriteOffset(a1, v3);
return v2;
}