//
// _TIFFsetString from 0xea6348 to 0xea63b8 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0xadb00
//
// 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:09 +0000
//
void *__fastcall TIFFsetString(void **a1, char *a2)
{
size_t v4; // x20
void *result; // x0
v4 = strlen(a2) + 1;
if ( *a1 )
{
TIFFfree(*a1);
*a1 = nullptr;
}
result = TIFFmalloc(v4);
*a1 = result;
if ( result )
return TIFFmemcpy(result, a2, v4);
return result;
}