// // sub_73748 from 0x73748 to 0x737ea (162 bytes) // // 1 xrefs: // > sub_73AD8 @ 0x74ffa // // 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_73748(int a1, int a2) { unsigned __int8 *v2; // r0 int v3; // r2 int v4; // r3 int v5; // r4 int v6; // r3 int v7; // r0 v2 = *(unsigned __int8 **)(a2 + 24); switch ( v2[46] ) { case 0u: case 3u: v3 = *(_DWORD *)(a2 + 156); v4 = byte_E8024[v3]; break; case 1u: v3 = *(_DWORD *)(a2 + 156); v4 = (int)(((v3 + 128 + ((unsigned int)((v3 + 128) >> 31) >> 24)) & 0xFFFFFF00) - v3) >> 1; break; case 2u: v3 = *(_DWORD *)(a2 + 156); v4 = -64; if ( v3 < 128 ) v4 = 64; break; default: v3 = *(_DWORD *)(a2 + 156); v4 = 0; break; } v5 = *(_DWORD *)(a2 + 160); *(_DWORD *)(a2 + 56) -= -(v4 * v2[45] * v5) >> 22; v6 = v5 + 16 * v2[47]; if ( v6 >= 0x10000 ) v6 = 0x10000; *(_DWORD *)(a2 + 160) = v6; v7 = v2[44] + v3; *(_BYTE *)(a2 + 36) |= 1u; if ( v7 > 255 ) v7 -= 256; *(_DWORD *)(a2 + 156) = v7; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source