// // sub_E5EC0 from 0xe5ec0 to 0xe5ff8 (312 bytes) // // 1 xrefs: // > @ 0x10f380 // // 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 12:14:59 +0000 // __int64 __fastcall sub_E5EC0(__int64 a1, __int64 a2, _DWORD *a3) { __int64 result; // x0 __int64 v7; // x0 __int64 v8; // x22 __int64 v9; // x23 int v10; // w21 FILE *v11; // x0 int v12; // w0 FILE *v13; // x8 int v14; // w20 _QWORD *v15; // [xsp+8h] [xbp-28h] BYREF v15 = nullptr; result = sub_E667C(&v15, a2); if ( !(_DWORD)result ) { v7 = (*(__int64 (__fastcall **)(_QWORD *, __int64, const char *, const char *))(*v15 + 904LL))( v15, gFMODClass, "fileDescriptorFromUri", "(Ljava/lang/String;)I"); if ( v7 ) { v8 = v7; v9 = (*(__int64 (__fastcall **)(_QWORD *, __int64))(*v15 + 1336LL))(v15, a2); v10 = sub_E5FF8(v15, gFMODClass, v8, v9); (*(void (__fastcall **)(_QWORD *__return_ptr, _QWORD *, __int64))(*v15 + 184LL))(v15, v15, v9); if ( v10 == -1 ) { return 18; } else { v11 = fdopen(v10, "rb"); *(_QWORD *)(a1 + 8) = v11; if ( !v11 ) return 13; if ( fseek(v11, 0, 2) ) return 13; v12 = ftell(*(FILE **)(a1 + 8)); v13 = *(FILE **)(a1 + 8); v14 = v12; result = fseek(v13, 0, 0); if ( (_DWORD)result ) return 13; else *a3 = v14; } } else { return 28; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source