// // sub_1001EC300 from 0x1001ec300 to 0x1001ec370 (112 bytes) // // 1 xrefs: // > sub_1001EC274 @ 0x1001ec294 // // 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:00:36 +0000 // FILE *__fastcall sub_1001EC300(FILE *a1) { FILE *base; // x20 int v3; // w21 base = (FILE *)a1->_lb._base; if ( base ) { v3 = (*((__int64 (__fastcall **)(FILE *))a1->_p + 6))(a1); if ( fclose(base) | v3 ) base = nullptr; else base = a1; a1->_lb._base = nullptr; (*((void (__fastcall **)(FILE *, _QWORD, _QWORD))a1->_p + 3))(a1, 0, 0); } return base; }
GD Web Decomp Icon

GD Web Decomp

Raw Source