//
// png_set_write_user_transform_fn from 0xe5f02c to 0xe5f044 (24 bytes)
//
// 1 xrefs:
// > ??> @ 0x71ce0
//
// 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:10:22 +0000
//
__int64 __fastcall png_set_write_user_transform_fn(__int64 result, __int64 a2)
{
int v2; // w2
if ( result )
{
v2 = *(_DWORD *)(result + 364);
*(_QWORD *)(result + 336) = a2;
*(_DWORD *)(result + 364) = v2 | 0x100000;
}
return result;
}