//
// png_convert_from_struct_tm from 0x871e70 to 0x871e90 (32 bytes)
//
// 1 xrefs:
// > png_convert_from_time_t @ 0x871ea6
//
// 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:02:58 +0000
//
int __fastcall png_convert_from_struct_tm(int result, _DWORD *a2)
{
*(_WORD *)result = a2[5] + 1900;
*(_BYTE *)(result + 2) = a2[4] + 1;
*(_BYTE *)(result + 3) = a2[3];
*(_BYTE *)(result + 4) = a2[2];
*(_BYTE *)(result + 5) = a2[1];
*(_BYTE *)(result + 6) = *a2;
return result;
}