// // sub_70D554 from 0x70d554 to 0x70d5cc (120 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 // int __fastcall sub_70D554(unsigned int a1, _DWORD *a2) { unsigned int v2; // r5 unsigned int v3; // r3 unsigned int v4; // r4 bool v5; // cc unsigned int v6; // r2 bool v7; // cc int v8; // r0 bool v9; // cc unsigned int v10; // r0 unsigned int v11; // r3 int v12; // r3 v2 = *(a2 - 1); v3 = HIBYTE(*a2) + HIBYTE(a1) - HIBYTE(v2); v4 = BYTE2(a1) + (unsigned __int8)BYTE2(*a2) - BYTE2(v2); v5 = v3 > 0xFF; if ( v3 > 0xFF ) v3 = ~v3; v6 = BYTE1(a1) + (unsigned __int8)BYTE1(*a2) - BYTE1(v2); if ( v5 ) v3 >>= 24; v7 = v4 > 0xFF; if ( v4 > 0xFF ) v4 = ~v4; v8 = (unsigned __int8)*a2 + (unsigned __int8)a1; if ( v7 ) v4 >>= 24; v9 = v6 > 0xFF; v10 = v8 - (unsigned __int8)v2; v11 = v3 << 24; if ( v6 > 0xFF ) v6 = ~v6; v12 = v11 | (v4 << 16); if ( v9 ) v6 >>= 24; if ( v10 > 0xFF ) v10 = ~v10 >> 24; return v10 | v12 | (v6 << 8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source