// // sub_73050 from 0x73050 to 0x730ee (158 bytes) // // 3 xrefs: // > sub_737F0 @ 0x73998 // > sub_73AD8 @ 0x74780 // > sub_73AD8 @ 0x749fe // // 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_73050(__int64 *a1) { int v1; // r2 int v3; // r1 __int64 v4; // kr08_8 unsigned int v5; // r0 char v6; // r1 unsigned int v7; // r0 __int16 v8; // r2 bool v9; // nf char v10; // r2 unsigned int v11; // r0 int v12; // r0 v1 = *((unsigned __int8 *)a1 + 263); v3 = *((unsigned __int8 *)a1 + 230); v4 = *a1; v5 = 255; switch ( v1 ) { case 0: v5 = byte_E8004[v3 & 0x1F]; break; case 1: v5 = (8 * v3) ^ ((unsigned int)(char)v3 >> 7); goto LABEL_6; case 2: break; case 3: LOBYTE(v5) = sub_4F410((int *)(v4 + 2460)); LOBYTE(v3) = *((_BYTE *)a1 + 230); LABEL_6: v5 = (unsigned __int8)v5; break; default: v5 = 0; break; } v6 = v3 + *((_BYTE *)a1 + 231); v7 = v5 * *((unsigned __int8 *)a1 + 232); if ( v6 > 31 ) v6 -= 64; v8 = *(_WORD *)(v4 + 2418); *((_BYTE *)a1 + 230) = v6; v9 = (v8 & 0x10) != 0; v10 = 2; v11 = v7 >> 7; if ( !v9 ) v10 = 1; v12 = v11 << v10; if ( v6 > -1 ) v12 = -v12; *(_DWORD *)(HIDWORD(v4) + 56) += v12; *(_BYTE *)(HIDWORD(v4) + 36) |= 1u; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source