// // png_read_push_finish_row from 0x862650 to 0x86272e (222 bytes) // // 18 xrefs: // > png_push_process_row @ 0x862d74 // > png_push_process_row @ 0x862d96 // > png_push_process_row @ 0x862db4 // > png_push_process_row @ 0x862dca // > png_push_process_row @ 0x862de0 // > png_push_process_row @ 0x862e00 // > png_push_process_row @ 0x862e24 // > png_push_process_row @ 0x862e40 // > png_push_process_row @ 0x862e66 // > png_push_process_row @ 0x862e9a // > png_push_process_row @ 0x862eb4 // > png_push_process_row @ 0x862ed4 // > png_push_process_row @ 0x862eee // > png_push_process_row @ 0x862f04 // > png_push_process_row @ 0x862f1a // > png_push_process_row @ 0x862f42 // > png_push_process_row @ 0x862f68 // > png_push_process_row @ 0x862f7e // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:02:44 +0000 // unsigned int __fastcall png_read_push_finish_row(unsigned int result) { unsigned int v1; // r2 unsigned int v2; // r3 int v3; // r2 unsigned int v4; // r5 char v5; // r6 unsigned int v6; // r4 int v7; // r3 unsigned int v8; // r9 bool v9; // zf v1 = *(_DWORD *)(result + 456); v2 = *(_DWORD *)(result + 472) + 1; *(_DWORD *)(result + 472) = v2; if ( v2 >= v1 && *(_BYTE *)(result + 532) ) { v3 = *(_DWORD *)(result + 464); v4 = result; *(_DWORD *)(result + 472) = 0; result = (unsigned int)memset(*(void **)(result + 480), 0, v3 + 1); v5 = *(_BYTE *)(v4 + 533); while ( 1 ) { v6 = (unsigned __int8)(v5 + 1); switch ( v6 ) { case 1u: result = *(_DWORD *)(v4 + 448); if ( result <= 4 ) goto LABEL_12; break; case 3u: result = *(_DWORD *)(v4 + 448); if ( result <= 2 ) { LABEL_12: v6 = (unsigned __int8)(v5 + 2); if ( v6 > 7 ) { LABEL_9: v5 = v6 - 1; LABEL_10: *(_BYTE *)(v4 + 533) = v5; return result; } goto LABEL_13; } break; case 5u: result = *(_DWORD *)(v4 + 448); if ( result <= 1 ) goto LABEL_12; break; default: if ( v6 > 7 ) goto LABEL_9; LABEL_13: v5 = v6; if ( v6 > 6 ) goto LABEL_10; result = *(_DWORD *)(v4 + 448); goto LABEL_17; } ++v5; LABEL_17: result = (result - 1 + byte_C2158C[v6] - byte_C2158C[v6 + 8]) / byte_C2158C[v6]; v7 = *(_DWORD *)(v4 + 316) << 30; v8 = result; *(_DWORD *)(v4 + 468) = result; if ( v7 >= 0 ) { result = (*(_DWORD *)(v4 + 452) - 1 + byte_C2158C[v6 + 16] - (unsigned int)byte_C2158C[v6 + 24]) / byte_C2158C[v6 + 16]; v9 = result == 0; if ( result ) v9 = v8 == 0; *(_DWORD *)(v4 + 456) = result; if ( v9 ) continue; } *(_BYTE *)(v4 + 533) = v6; return result; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source