//
// FileOperation::readFile from 0x100702360 to 0x1007023ee (142 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:35:59 +0000
//
__int64 FileOperation::readFile()
{
FILE *v0; // rax
FILE *v1; // rbx
char __filename[16]; // [rsp+8h] [rbp-68h] BYREF
char v4[16]; // [rsp+20h] [rbp-50h] BYREF
__int128 v5; // [rsp+30h] [rbp-40h]
__int128 v6; // [rsp+40h] [rbp-30h]
__int16 v7; // [rsp+50h] [rbp-20h]
__filename[1] = 0;
v0 = fopen(&__filename[1], "r");
v6 = 0;
v5 = 0;
*(_OWORD *)v4 = 0;
v7 = 0;
if ( v0 )
{
v1 = v0;
fgets(v4, 50, v0);
fclose(v1);
}
return __stack_chk_guard;
}