// // sub_77B038 from 0x77b038 to 0x77b0a8 (112 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 // unsigned int __fastcall sub_77B038(int a1, wint_t *a2, unsigned int a3, _BYTE *a4) { wint_t *v4; // r5 _BYTE *v5; // r7 wint_t *v6; // r8 int v7; // r11 int v8; // r6 _BYTE *v9; // r9 int v10; // r10 char v11; // r4 wctype_t v12; // t1 unsigned int v14; // [sp+4h] [bp-10h] _BYTE *v15; // [sp+8h] [bp-Ch] v4 = a2; v5 = a4; if ( (unsigned int)a2 < a3 ) { v6 = a2 + 1; v7 = a1 + 1180; v8 = a1 + 1244; v15 = (_BYTE *)(a1 + 1168); v14 = (unsigned int)&a4[((a3 + 3 - (unsigned int)(a2 + 1)) >> 2) + 1]; while ( 1 ) { v9 = v15; v10 = v7; v11 = 0; do { v12 = *(_DWORD *)(v10 + 4); v10 += 4; if ( iswctype(*v4, v12) ) v11 |= *v9; ++v9; } while ( v10 != v8 ); v4 = v6; *v5++ = v11; if ( v5 == (_BYTE *)v14 ) break; ++v6; } } return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source