//
// png_push_restore_buffer from 0xbcf170 to 0xbcf18c (28 bytes)
//
// 2 xrefs:
// > png_process_data @ 0xbd02a4
// > ??> @ 0xc12f0
//
// 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
//
_QWORD *__fastcall png_push_restore_buffer(_QWORD *result, __int64 a2, __int64 a3)
{
__int64 v3; // x3
v3 = result[115];
result[113] = a2;
result[118] = a3;
result[117] = a3 + v3;
result[112] = a2;
return result;
}