// // sub_F3D8E4 from 0xf3d8e4 to 0xf3da58 (372 bytes) // // 1 xrefs: // > deflate @ 0xf3593c // // 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:13:05 +0000 // __int64 __fastcall sub_F3D8E4(__int64 result) { int v1; // w1 unsigned int v2; // w4 __int64 v3; // x5 __int16 v4; // w1 unsigned int v5; // w2 __int64 v6; // x4 __int16 v7; // w1 int v8; // w1 int v9; // w1 __int16 v10; // w2 int v11; // w1 unsigned int v12; // w1 __int64 v13; // x3 int v14; // w1 __int16 v15; // w3 int v16; // w2 unsigned int v17; // w1 __int64 v18; // x3 __int64 v19; // x4 unsigned int v20; // w1 __int64 v21; // x3 unsigned int v22; // w2 __int64 v23; // x3 v1 = *(_DWORD *)(result + 5924); if ( v1 <= 13 ) { v15 = *(_WORD *)(result + 5920); v16 = 2 << v1; v9 = v1 + 3; *(_DWORD *)(result + 5924) = v9; v10 = v16 | v15; *(_WORD *)(result + 5920) = v10; if ( v9 <= 9 ) { LABEL_3: v11 = v9 + 7; *(_DWORD *)(result + 5924) = v11; if ( v11 != 16 ) goto LABEL_4; LABEL_9: v20 = *(_DWORD *)(result + 40); v21 = *(_QWORD *)(result + 16); *(_DWORD *)(result + 40) = v20 + 1; *(_BYTE *)(v21 + v20) = v10; v22 = *(_DWORD *)(result + 40); v23 = *(_QWORD *)(result + 16); LOWORD(v20) = *(_WORD *)(result + 5920); *(_DWORD *)(result + 40) = v22 + 1; *(_BYTE *)(v23 + v22) = BYTE1(v20); *(_WORD *)(result + 5920) = 0; *(_DWORD *)(result + 5924) = 0; return result; } } else { v2 = *(_DWORD *)(result + 40); v3 = *(_QWORD *)(result + 16); v4 = (2 << v1) | *(_WORD *)(result + 5920); *(_DWORD *)(result + 40) = v2 + 1; *(_WORD *)(result + 5920) = v4; *(_BYTE *)(v3 + v2) = v4; v5 = *(_DWORD *)(result + 40); v6 = *(_QWORD *)(result + 16); v7 = *(_WORD *)(result + 5920); *(_DWORD *)(result + 40) = v5 + 1; *(_BYTE *)(v6 + v5) = HIBYTE(v7); v8 = *(_DWORD *)(result + 5924); LOBYTE(v5) = 16 - v8; v9 = v8 - 13; *(_DWORD *)(result + 5924) = v9; v10 = 2 >> v5; *(_WORD *)(result + 5920) = v10; if ( v9 <= 9 ) goto LABEL_3; } v17 = *(_DWORD *)(result + 40); v18 = *(_QWORD *)(result + 16); *(_DWORD *)(result + 40) = v17 + 1; *(_BYTE *)(v18 + v17) = v10; LOBYTE(v10) = 0; LODWORD(v18) = *(_DWORD *)(result + 40); v19 = *(_QWORD *)(result + 16); LOWORD(v17) = *(_WORD *)(result + 5920); *(_DWORD *)(result + 40) = v18 + 1; *(_BYTE *)(v19 + (unsigned int)v18) = BYTE1(v17); *(_WORD *)(result + 5920) = 0; v11 = *(_DWORD *)(result + 5924) - 9; *(_DWORD *)(result + 5924) = v11; if ( v11 == 16 ) goto LABEL_9; LABEL_4: if ( v11 > 7 ) { v12 = *(_DWORD *)(result + 40); v13 = *(_QWORD *)(result + 16); *(_DWORD *)(result + 40) = v12 + 1; *(_BYTE *)(v13 + v12) = v10; v14 = *(_DWORD *)(result + 5924); *(_WORD *)(result + 5920) >>= 8; *(_DWORD *)(result + 5924) = v14 - 8; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source