// // sub_10047AD2C from 0x10047ad2c to 0x10047ada8 (124 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_10047AD2C(__int64 a1, __int64 a2, __int64 a3, _DWORD *a4) { int v4; // w9 int v5; // w8 __int64 v6; // x9 int v7; // w10 __int64 v8; // x10 __int64 v9; // x8 int v10; // w12 __int64 v11; // x11 v4 = 0; v5 = 0; do { if ( v5 <= 511 ) v4 = *(unsigned __int8 *)(a2 + v5++); } while ( v4 != 34 ); v6 = 0; if ( v5 <= 510 ) v7 = 510; else v7 = v5; v8 = (unsigned int)(v7 - v5 + 1); v9 = a2 + v5; while ( 1 ) { v10 = *(unsigned __int8 *)(v9 + v6); if ( v10 == 34 ) break; v11 = v6 + 1; *(_BYTE *)(a3 + v6) = v10; v6 = v11; if ( v8 == v11 ) goto LABEL_13; } LODWORD(v11) = v6; LABEL_13: *(_BYTE *)(a3 + (int)v11) = 0; *a4 = v11; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source