// // png_do_packswap from 0xe5bbb0 to 0xe5bc28 (120 bytes) // // 3 xrefs: // > png_do_read_transformations @ 0xe50678 // > png_do_write_transformations @ 0xe5fa98 // > @ 0xde850 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:10:20 +0000 // __int64 __fastcall png_do_packswap(__int64 result, unsigned __int8 *a2) { unsigned int v2; // w3 unsigned __int8 *v3; // x3 unsigned __int8 *v4; // x2 v2 = *(unsigned __int8 *)(result + 17); if ( v2 <= 7 ) { switch ( v2 ) { case 1u: v3 = (unsigned __int8 *)&unk_11BEE20; break; case 2u: v3 = (unsigned __int8 *)&unk_11BEF20; break; case 4u: v3 = (unsigned __int8 *)&unk_11BF020; break; default: return result; } v4 = &a2[*(_QWORD *)(result + 8)]; if ( a2 < v4 ) { do { result = v3[*a2]; *a2++ = result; } while ( a2 != v4 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source