[0x80000000]> pdg @ main
// WARNING: Unknown calling convention -- yet parameter storage is locked
// WARNING: [rz-ghidra] Matching calling convention reg of function main failed, args may be inaccurate.
// WARNING: [rz-ghidra] Matching calling convention reg of function sym.decrypt failed, args may be inaccurate.
// WARNING: [rz-ghidra] Matching calling convention reg of function dbg.fiprintf failed, args may be inaccurate.
// WARNING: [rz-ghidra] Failed to match type int (*anonymous_fcn_0x554)(struct _reent *anonymous_var_0x55e, void
// *anonymous_var_0x563, char *anonymous_var_0x568, int anonymous_var_0x56d) of member _read in struct __sFILE
// WARNING: [rz-ghidra] Failed to match type int (*anonymous_fcn_0x6c6)(struct _reent *anonymous_var_0x6d0, void
// *anonymous_var_0x6d5, const char *anonymous_var_0x6da, int anonymous_var_0x6df) of member _write in struct __sFILE
// WARNING: [rz-ghidra] Failed to match type _fpos_t (*anonymous_fcn_0x6f1)(struct _reent *anonymous_var_0x6fb, void
// *anonymous_var_0x700, _fpos_t anonymous_var_0x705, int anonymous_var_0x70a) of member _seek in struct __sFILE
// WARNING: [rz-ghidra] Failed to match type int (*anonymous_fcn_0x716)(struct _reent *anonymous_var_0x720, void
// *anonymous_var_0x725) of member _close in struct __sFILE
// WARNING: [rz-ghidra] Recursion detected while creating type __FILE
// WARNING: [rz-ghidra] Failed to match type __FILE * of member _stdin in struct _reent
// WARNING: [rz-ghidra] Failed to match type __FILE * of member _stdout in struct _reent
// WARNING: [rz-ghidra] Failed to match type __FILE * of member _stderr in struct _reent
// WARNING: [rz-ghidra] Failed to match type void (*anonymous_fcn_0x9d1)(struct _reent *anonymous_var_0x9d7) of member
// __cleanup in struct _reent
// WARNING: [rz-ghidra] Recursion detected while creating type _Bigint
// WARNING: [rz-ghidra] Failed to match type _Bigint * of member _next in struct _Bigint_0
// WARNING: [rz-ghidra] Failed to match type union anonymous_union_0x993 of member _new in struct _reent
// WARNING: [rz-ghidra] Failed to match type void (**anonymous_fcn_0x9e9)(int anonymous_var_0x9ef) of member _sig_func
// in struct _reent
// WARNING: [rz-ghidra] Failed to match type union anonymous_union_0x1be of member __value in struct
// anonymous_struct_0x1f5
// WARNING: [rz-ghidra] Matching calling convention reg of function dbg.abort failed, args may be inaccurate.
// WARNING: [rz-ghidra] Matching calling convention reg of function dbg.printf failed, args may be inaccurate.
undefined4 main(int32_t arg5)
{
int32_t iVar1;
char *in_a6;
char *fmt;
iVar1 = sym.decrypt(-0x7fff7217);
if (iVar1 != 0) {
dbg.printf(in_a6);
return 0;
}
fmt = "decrypt(key)";
do {
dbg.fiprintf((FILE *)"assertion \"%s\" failed: file \"%s\", line %d%s%s\n", fmt);
dbg.abort();
} while( true );
}