// // png_get_cHRM from 0x6517c4 to 0x6518a4 (224 bytes) // // 0 xrefs: // // 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 // int __fastcall png_get_cHRM( int a1, int a2, double *a3, double *a4, double *a5, double *a6, double *a7, double *a8, double *a9, double *a10) { bool v10; // zf int result; // r0 v10 = a1 == 0; if ( a1 ) v10 = a2 == 0; if ( v10 ) return 0; result = *(_WORD *)(a2 + 114) & 2; if ( (*(_WORD *)(a2 + 114) & 2) != 0 ) { if ( a3 ) *a3 = (double)*(int *)(a2 + 68) * 0.00001; if ( a4 ) *a4 = (double)*(int *)(a2 + 72) * 0.00001; if ( a5 ) *a5 = (double)*(int *)(a2 + 44) * 0.00001; if ( a6 ) *a6 = (double)*(int *)(a2 + 48) * 0.00001; if ( a7 ) *a7 = (double)*(int *)(a2 + 52) * 0.00001; if ( a8 ) *a8 = (double)*(int *)(a2 + 56) * 0.00001; if ( a9 ) *a9 = (double)*(int *)(a2 + 60) * 0.00001; if ( a10 ) *a10 = (double)*(int *)(a2 + 64) * 0.00001; return 4; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source