// // sub_1061F7C from 0x1061f7c to 0x1062120 (420 bytes) // // 1 xrefs: // > @ 0x15524c0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:16:51 +0000 // __int64 __fastcall sub_1061F7C(__int64 a1, unsigned int *a2) { int string_type; // w0 unsigned int v5; // w1 const char *v7; // x0 int v8; // w2 const char *v9; // x0 const char *v10; // x0 int v11; // w2 FILE *v12; // x22 const char *v13; // x0 char input_flags; // w0 int v15; // w0 const char *v16; // x20 const char *v17; // x0 int v18; // w0 string_type = UI_get_string_type(a2); if ( string_type == 2 ) { v12 = (FILE *)qword_15680B8; v13 = (const char *)UI_get0_output_string((__int64)a2); fprintf(v12, "Verifying - %s", v13); fflush((FILE *)qword_15680B8); input_flags = UI_get_input_flags((__int64)a2); v15 = sub_1061CBC(a1, (__int64)a2, input_flags & 1, 1); if ( v15 <= 0 ) { return (unsigned int)v15; } else { v16 = (const char *)UI_get0_result_string((__int64)a2); v17 = (const char *)UI_get0_test_string((__int64)a2); v18 = strcmp(v16, v17); v5 = 1; if ( v18 ) { fwrite("Verify failure\n", 1u, 0xFu, (FILE *)qword_15680B8); fflush((FILE *)qword_15680B8); return 0; } } return v5; } if ( string_type == 3 ) { v9 = (const char *)UI_get0_output_string((__int64)a2); fputs(v9, (FILE *)qword_15680B8); v10 = (const char *)UI_get0_action_string((__int64)a2); fputs(v10, (FILE *)qword_15680B8); fflush((FILE *)qword_15680B8); v11 = UI_get_input_flags((__int64)a2) & 1; return sub_1061CBC(a1, (__int64)a2, v11, 0); } else { v5 = 1; if ( string_type != 1 ) return v5; v7 = (const char *)UI_get0_output_string((__int64)a2); fputs(v7, (FILE *)qword_15680B8); fflush((FILE *)qword_15680B8); v8 = UI_get_input_flags((__int64)a2) & 1; return sub_1061CBC(a1, (__int64)a2, v8, 1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source