// // sub_7034A0 from 0x7034a0 to 0x703544 (164 bytes) // // 1 xrefs: // > sub_703554 @ 0x703568 // // 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 // unsigned __int8 *__fastcall sub_7034A0(int a1, int a2, int a3) { int v3; // r2 unsigned __int8 *result; // r0 unsigned __int8 *v5; // r7 char *v6; // r8 char *v7; // r12 int v8; // r6 _BYTE *v9; // r9 int v10; // r10 int v11; // r5 int v12; // r3 int v13; // r4 int v14; // r5 v3 = 2 * a3 + 1; result = (unsigned __int8 *)(a1 - 2); v5 = (unsigned __int8 *)off_A2DB98; v6 = (char *)off_A2DBA4; v7 = (char *)off_A2DBA0; v8 = 16; v9 = off_A2DB9C; do { while ( 1 ) { v10 = result[1]; v11 = result[2]; v12 = *result - result[3]; if ( v3 >= 4 * v5[v10 - v11] + v5[v12] ) break; --v8; result += a2; if ( !v8 ) return result; } --v8; v13 = 3 * (v11 - v10) + v6[v12]; v14 = v11 - v7[(v13 + 4) >> 3]; result[1] = v9[v10 + v7[(v13 + 3) >> 3]]; result[2] = v9[v14]; result += a2; } while ( v8 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source