// // png_safe_execute from 0x651310 to 0x651362 (82 bytes) // // 13 xrefs: // > png_image_free @ 0x650ac8 // > sub_655D68 @ 0x656188 // > sub_655D68 @ 0x6561fe // > sub_6569F0 @ 0x656b42 // > png_image_begin_read_from_stdio @ 0x6577ee // > png_image_begin_read_from_file @ 0x65785e // > png_image_begin_read_from_memory @ 0x65790a // > png_image_finish_read @ 0x65799a // > png_image_finish_read @ 0x6579f4 // > png_image_finish_read @ 0x657a1a // > sub_662E04 @ 0x662f90 // > sub_662E04 @ 0x66307c // > png_image_write_to_stdio @ 0x66339e // // 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_safe_execute(int a1, int (__fastcall *a2)(int), int a3) { int v3; // r0 int v8; // [sp+10h] [bp-108h] int v9; // [sp+14h] [bp-104h] jmp_buf env; // [sp+18h] [bp-100h] BYREF v9 = *(_DWORD *)(*(_DWORD *)a1 + 8); v3 = setjmp(env); v8 = v3 == 0; if ( !v3 ) { *(_DWORD *)(*(_DWORD *)a1 + 8) = env; v8 = a2(a3); } *(_DWORD *)(*(_DWORD *)a1 + 8) = v9; if ( !v8 ) png_image_free(a1); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source