// // sub_100701808 from 0x100701808 to 0x100701918 (272 bytes) // // 3 xrefs: // > sub_10072AF94 @ 0x10072afc4 // > sub_1007354A4 @ 0x100735708 // > sub_10073879C @ 0x1007387c4 // // 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 11:12:49 +0000 // _QWORD *__fastcall sub_100701808(const char *a1, const char *a2) { FILE *v2; // x21 _QWORD *v3; // x0 _QWORD *v4; // x19 int *v5; // x0 __int64 v6; // x2 __int64 v7; // x4 v2 = fopen(a1, a2); if ( v2 ) { v3 = sub_1007005EC((__int64)&unk_1009E9190); v4 = v3; if ( v3 ) { sub_100700768((__int64)v3, 0); sub_100700CE0(v4, 106, 1, (__int64)v2); } else { fclose(v2); return nullptr; } } else { v5 = __error(); sub_100706FB0(2, 1, (unsigned int)*v5, "bss_file.c", 175); sub_100707B58(5); if ( *__error() == 2 ) { v6 = 128; v7 = 178; } else { v6 = 2; v7 = 180; } sub_100706FB0(32, 109, v6, "bss_file.c", v7); return nullptr; } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source