// // png_set_scale_16 from 0x658a04 to 0x658a2c (40 bytes) // // 3 xrefs: // > sub_654424 @ 0x6545ca // > sub_655D68 @ 0x655e4e // > png_read_png @ 0x65770a // // 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_set_scale_16(int result) { int v1; // r2 int v2; // r1 if ( result ) { v1 = *(_DWORD *)(result + 312); if ( (v1 & 0x40) != 0 ) { return png_app_error(result, "invalid after png_start_read_image or png_read_update_info"); } else { v2 = *(_DWORD *)(result + 316); *(_DWORD *)(result + 312) = v1 | 0x4000; *(_DWORD *)(result + 316) = v2 | 0x4000000; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source