// // sub_D210BC from 0xd210bc to 0xd21174 (184 bytes) // // 4 xrefs: // > sub_D20660 @ 0xd206a0 // > sub_D206C8 @ 0xd2070c // > sub_D2071C @ 0xd2075c // > sub_D2071C @ 0xd207d0 // // 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 // wctype_t __fastcall sub_D210BC(__int64 a1) { __int64 v1; // x19 int v3; // w0 __int64 v4; // x1 wint_t *v5; // x20 __int64 i; // x19 int v7; // w0 __int64 j; // x19 wctype_t result; // x0 __int64 v10; // x1 v1 = 0; do { v3 = wctob(v1); v4 = a1 + v1++; if ( v3 == -1 ) { *(_BYTE *)(a1 + 24) = 0; goto LABEL_5; } *(_BYTE *)(v4 + 25) = v3; } while ( v1 != 128 ); *(_BYTE *)(a1 + 24) = 1; LABEL_5: v5 = (wint_t *)(a1 + 156); for ( i = 0; i != 256; ++i ) { v7 = i; *v5++ = btowc(v7); } for ( j = 0; j != 16; ++j ) { *(_BYTE *)(a1 + j + 1180) = 1 << j; result = sub_D20B34(a1, 1 << j); v10 = a1 + 8 * j; *(_QWORD *)(v10 + 1200) = result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source