/**
 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
 *
 * Do not edit this file as changes may cause incorrect behavior and will be lost
 * once the code is regenerated.
 *
 * @generated by codegen project: GenerateModuleCpp.js
 */

#include "RNConsumetSpecJSI.h"

namespace facebook::react {

static jsi::Value __hostFunction_NativeConsumetCxxSpecJSI_bypassDdosGuard(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeConsumetCxxSpecJSI *>(&turboModule)->bypassDdosGuard(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
}
static jsi::Value __hostFunction_NativeConsumetCxxSpecJSI_getDdosGuardCookiesWithWebView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeConsumetCxxSpecJSI *>(&turboModule)->getDdosGuardCookiesWithWebView(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
}
static jsi::Value __hostFunction_NativeConsumetCxxSpecJSI_makeGetRequestWithWebView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeConsumetCxxSpecJSI *>(&turboModule)->makeGetRequestWithWebView(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asObject(rt)
  );
}
static jsi::Value __hostFunction_NativeConsumetCxxSpecJSI_makePostRequestWithWebView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeConsumetCxxSpecJSI *>(&turboModule)->makePostRequestWithWebView(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asObject(rt),
    count <= 2 ? throw jsi::JSError(rt, "Expected argument in position 2 to be passed") : args[2].asString(rt)
  );
}
static jsi::Value __hostFunction_NativeConsumetCxxSpecJSI_makePostRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeConsumetCxxSpecJSI *>(&turboModule)->makePostRequest(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asObject(rt),
    count <= 2 ? throw jsi::JSError(rt, "Expected argument in position 2 to be passed") : args[2].asString(rt)
  );
}
static jsi::Value __hostFunction_NativeConsumetCxxSpecJSI_deobfuscateScript(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeConsumetCxxSpecJSI *>(&turboModule)->deobfuscateScript(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
}
static jsi::Value __hostFunction_NativeConsumetCxxSpecJSI_multiply(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeConsumetCxxSpecJSI *>(&turboModule)->multiply(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber(),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asNumber()
  );
}

NativeConsumetCxxSpecJSI::NativeConsumetCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
  : TurboModule("Consumet", jsInvoker) {
  methodMap_["bypassDdosGuard"] = MethodMetadata {1, __hostFunction_NativeConsumetCxxSpecJSI_bypassDdosGuard};
  methodMap_["getDdosGuardCookiesWithWebView"] = MethodMetadata {1, __hostFunction_NativeConsumetCxxSpecJSI_getDdosGuardCookiesWithWebView};
  methodMap_["makeGetRequestWithWebView"] = MethodMetadata {2, __hostFunction_NativeConsumetCxxSpecJSI_makeGetRequestWithWebView};
  methodMap_["makePostRequestWithWebView"] = MethodMetadata {3, __hostFunction_NativeConsumetCxxSpecJSI_makePostRequestWithWebView};
  methodMap_["makePostRequest"] = MethodMetadata {3, __hostFunction_NativeConsumetCxxSpecJSI_makePostRequest};
  methodMap_["deobfuscateScript"] = MethodMetadata {1, __hostFunction_NativeConsumetCxxSpecJSI_deobfuscateScript};
  methodMap_["multiply"] = MethodMetadata {2, __hostFunction_NativeConsumetCxxSpecJSI_multiply};
}


} // namespace facebook::react
