// // png_get_cHRM_XYZ from 0xbcdc50 to 0xbcdd6c (284 bytes) // // 1 xrefs: // > @ 0xc95e8 // // 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_get_cHRM_XYZ( __int64 a1, __int64 a2, double *a3, double *a4, double *a5, double *a6, double *a7, double *a8, double *a9, double *a10, double *a11) { __int64 result; // x0 if ( !a1 || !a2 ) return 0; result = 0; if ( (*(_WORD *)(a2 + 126) & 2) != 0 ) { if ( a3 ) *a3 = (double)*(int *)(a2 + 88) * 0.00001; if ( a4 ) *a4 = (double)*(int *)(a2 + 92) * 0.00001; if ( a5 ) *a5 = (double)*(int *)(a2 + 96) * 0.00001; if ( a6 ) *a6 = (double)*(int *)(a2 + 100) * 0.00001; if ( a7 ) *a7 = (double)*(int *)(a2 + 104) * 0.00001; if ( a8 ) *a8 = (double)*(int *)(a2 + 108) * 0.00001; if ( a9 ) *a9 = (double)*(int *)(a2 + 112) * 0.00001; if ( a10 ) *a10 = (double)*(int *)(a2 + 116) * 0.00001; if ( a11 ) { result = 4; *a11 = (double)*(int *)(a2 + 120) * 0.00001; } else { return 4; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source