// // png_get_gAMA from 0x651abc to 0x651af2 (54 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_gAMA(int a1, int a2, double *a3) { bool v3; // zf int result; // r0 v3 = a1 == 0; if ( a1 ) v3 = a2 == 0; if ( v3 ) return 0; if ( a3 ) result = *(_BYTE *)(a2 + 114) & 1; else result = 0; if ( result ) { *a3 = (double)*(int *)(a2 + 40) * 0.00001; return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source