// // sub_CEC46C from 0xcec46c to 0xcec4e0 (116 bytes) // // 1 xrefs: // > @ 0x121d6d0 // // 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_CEC46C(__int64 a1, __int64 a2, __int64 a3) { __int64 v6; // x19 wint_t v8; // w0 v6 = 0; if ( a3 ) { while ( 1 ) { v8 = getwc(*(__FILE **)(a1 + 64)); if ( v8 == -1 ) break; *(_DWORD *)(a2 + 4 * v6++) = v8; if ( a3 == v6 ) goto LABEL_6; } if ( !v6 ) goto LABEL_7; LABEL_6: v8 = *(_DWORD *)(a2 + 4 * v6 - 4); } else { v8 = -1; } LABEL_7: *(_DWORD *)(a1 + 72) = v8; return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source