_init.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Auto-generated by Frida. Please modify to match the signature of VerifyPhoneNumberRequest.$init.
  3. *
  4. * For full API reference, see: https://frida.re/docs/javascript-api/
  5. */
  6. {
  7. /**
  8. * Called synchronously when about to call VerifyPhoneNumberRequest.$init.
  9. *
  10. * @this {object} - The Java class or instance.
  11. * @param {function} log - Call this function with a string to be presented to the user.
  12. * @param {array} args - Java method arguments.
  13. * @param {object} state - Object allowing you to keep state across function calls.
  14. */
  15. onEnter(log, args, state) {
  16. log(`VerifyPhoneNumberRequest.$init(${args.map(JSON.stringify).join(', ')})`);
  17. },
  18. /**
  19. * Called synchronously when about to return from VerifyPhoneNumberRequest.$init.
  20. *
  21. * See onEnter for details.
  22. *
  23. * @this {object} - The Java class or instance.
  24. * @param {function} log - Call this function with a string to be presented to the user.
  25. * @param {NativePointer} retval - Return value.
  26. * @param {object} state - Object allowing you to keep state across function calls.
  27. */
  28. onLeave(log, retval, state) {
  29. if (retval !== undefined) {
  30. log(`<= ${JSON.stringify(retval)}`);
  31. }
  32. }
  33. }