// // sub_B951E4 from 0xb951e4 to 0xb952ac (200 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 // __int64 __fastcall sub_B951E4(__int64 a1, char a2) { int v3; // w19 int v4; // w1 unsigned int v5; // w19 void *v6; // x22 __int64 *v7; // x0 char *v8; // x2 int v9; // w1 size_t v10; // x3 unsigned int v11; // w21 v3 = a2 & 1; if ( (a2 & 1) != 0 ) v3 = 16; if ( (a2 & 4) != 0 ) v4 = 32; else v4 = 0; v5 = v3 | *(_DWORD *)(a1 + 484) & 0xFFFFFFCF | v4; *(_DWORD *)(a1 + 484) = v5; if ( (v5 & 0x10) == 0 ) { v6 = *(void **)(a1 + 35648); if ( v6 ) { v7 = *(__int64 **)(a1 + 16); v8 = *(char **)(a1 + 35648); v9 = *(_DWORD *)(a1 + 35664); v10 = *(_QWORD *)(a1 + 35656); *(_QWORD *)(a1 + 35648) = 0; v11 = sub_B7BE9C(v7, v9, v8, v10); off_1231008(v6); if ( v11 ) return v11; } } v11 = 0; if ( (v5 & 0x30) == 0x30 ) return v11; sub_B9B94C(a1, 0); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source