// // png_get_pixels_per_meter from 0xbcd720 to 0xbcd764 (68 bytes) // // 2 xrefs: // > png_get_pixels_per_inch @ 0xbcd8c8 // > @ 0xa1ac0 // // 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_pixels_per_meter(__int64 a1, __int64 a2) { int v2; // w2 __int64 result; // x0 if ( !a1 || !a2 ) return 0; v2 = *(_DWORD *)(a2 + 8); result = (unsigned __int8)v2 & 0x80; if ( (v2 & 0x80) != 0 ) { result = 0; if ( *(_BYTE *)(a2 + 232) == 1 ) { LODWORD(result) = *(_DWORD *)(a2 + 224); if ( (_DWORD)result == *(_DWORD *)(a2 + 228) ) return (unsigned int)result; else return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source