// // sub_91D114 from 0x91d114 to 0x91d18c (120 bytes) // // 0 xrefs: // // 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:04:39 +0000 // int __fastcall sub_91D114(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