// // png_set_cHRM_fixed from 0xbe3424 to 0xbe34d0 (172 bytes) // // 3 xrefs: // > png_set_cHRM @ 0xbe36b0 // > sub_BE8924 @ 0xbe8cb0 // > @ 0x91158 // // 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_cHRM_fixed( __int64 result, __int64 a2, unsigned int a3, unsigned int a4, unsigned int a5, unsigned int a6, unsigned int a7, unsigned int a8, unsigned int a9, unsigned int a10) { __int64 v11; // x20 __int128 v12; // [xsp+20h] [xbp+20h] __int128 v13; // [xsp+30h] [xbp+30h] _OWORD v14[2]; // [xsp+40h] [xbp+40h] BYREF if ( result && a2 ) { *(_QWORD *)&v13 = __PAIR64__(a6, a5); *((_QWORD *)&v13 + 1) = __PAIR64__(a8, a7); v11 = result; v14[0] = v13; *(_QWORD *)&v12 = __PAIR64__(a10, a9); *((_QWORD *)&v12 + 1) = __PAIR64__(a4, a3); v14[1] = v12; if ( (unsigned int)png_colorspace_set_chromaticities(result, a2 + 52, (int *)v14, 2) ) *(_WORD *)(a2 + 126) |= 0x10u; return png_colorspace_sync_info(v11, a2); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source