// // sub_85BEAC from 0x85beac to 0x85bee8 (60 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:02:40 +0000 // int __fastcall sub_85BEAC(int a1, char *file, _DWORD *a3, int oflag) { int v5; // r0 int v6; // r4 int result; // r0 _DWORD v8[27]; // [sp+0h] [bp-6Ch] BYREF v5 = open(file, oflag, 436); v6 = v5; if ( v5 < 0 ) return -1; if ( fstat(v5, (struct stat *)v8) < 0 ) { close(v6); return -1; } else { result = v6; *a3 = v8[12]; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source