// // png_write_gAMA_fixed from 0x8749a4 to 0x874a14 (112 bytes) // // 1 xrefs: // > png_write_info_before_PLTE @ 0x8719e0 // // 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:03:00 +0000 // _BYTE *__fastcall png_write_gAMA_fixed(_DWORD *a1, int a2) { _BYTE *result; // r0 _BYTE v4[4]; // [sp+4h] [bp-Ch] BYREF _BYTE v5[4]; // [sp+8h] [bp-8h] BYREF _BYTE v6[4]; // [sp+Ch] [bp-4h] BYREF result = png_save_uint_32(v4, a2); if ( a1 ) { a1[225] = 34; png_save_uint_32(v5, 4); png_save_uint_32(v6, 1732332865); png_write_data((int)a1); a1[119] = 1732332865; png_reset_crc((int)a1); png_calculate_crc(a1, (int)v6, 4); a1[225] = 66; png_write_chunk_data(a1, (int)v4, 4); return (_BYTE *)png_write_chunk_end((int)a1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source