// // sub_712BF4 from 0x712bf4 to 0x712c92 (158 bytes) // // 0 xrefs: // // 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 // _DWORD *__fastcall sub_712BF4(_DWORD *result) { int v1; // lr int v2; // r2 int v3; // r10 _DWORD *v4; // r3 int v5; // r2 _DWORD *v6; // r1 int v7; // r11 _DWORD *v8; // r10 int v9; // r12 unsigned int v10; // t1 int v11; // r5 v1 = result[4] * -result[6]; v2 = result[17]; v3 = result[2] * result[13]; v4 = (_DWORD *)result[19]; if ( v1 ) { if ( v3 > 0 ) { v7 = result[20] - 4; v8 = &v4[v3]; v9 = v2 - 1; do { v10 = *(_DWORD *)(v7 + 4); v7 += 4; v11 = (v10 * (unsigned __int64)(unsigned int)v1 + 0x80000000) >> 32; *(_BYTE *)++v9 = ((unsigned int)result[5] * (unsigned __int64)(unsigned int)(*v4 - v11) + 0x80000000) >> 32; *v4++ = v11; } while ( v4 != v8 ); } } else if ( v3 > 0 ) { v5 = v2 - 1; v6 = &v4[v3]; do { *(_BYTE *)++v5 = ((unsigned int)result[5] * (unsigned __int64)(unsigned int)*v4 + 0x80000000) >> 32; *v4++ = 0; } while ( v4 != v6 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source