// // png_set_tIME from 0xbe478c to 0xbe4820 (148 bytes) // // 2 xrefs: // > png_handle_tIME @ 0xbe13b0 // > @ 0x9e0d0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall png_set_tIME(__int64 result, __int64 a2, __int64 a3) { if ( a2 != 0 && a3 != 0 && result && (*(_DWORD *)(result + 356) & 0x200) == 0 ) { if ( (unsigned __int8)(*(_BYTE *)(a3 + 2) - 1) > 0xBu || (unsigned __int8)(*(_BYTE *)(a3 + 3) - 1) > 0x1Eu || *(unsigned __int8 *)(a3 + 4) > 0x17u || *(unsigned __int8 *)(a3 + 5) > 0x3Bu || *(unsigned __int8 *)(a3 + 6) > 0x3Cu ) { return png_warning(result, "Ignoring invalid time value"); } else { result = *(_DWORD *)(a2 + 8) | 0x200u; *(_QWORD *)(a2 + 168) = *(_QWORD *)a3; *(_DWORD *)(a2 + 8) = result; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source