//
// png_convert_from_struct_tm from 0xe5d618 to 0xe5d654 (60 bytes)
//
// 2 xrefs:
// > png_convert_from_time_t @ 0xe5d67c
// > ??> @ 0x980e0
//
// 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:21 +0000
//
__int64 __fastcall png_convert_from_struct_tm(__int64 result, __int64 a2)
{
__int16 v2; // w2
v2 = *(_DWORD *)(a2 + 20);
*(_BYTE *)(result + 2) = *(_BYTE *)(a2 + 16) + 1;
*(_WORD *)result = v2 + 1900;
*(_BYTE *)(result + 3) = *(_DWORD *)(a2 + 12);
*(_BYTE *)(result + 4) = *(_DWORD *)(a2 + 8);
*(_BYTE *)(result + 5) = *(_DWORD *)(a2 + 4);
*(_BYTE *)(result + 6) = *(_DWORD *)a2;
return result;
}