// // std::__ndk1::basic_filebuf>::~basic_filebuf from 0x80a844 to 0x80a88a (70 bytes) // // 3 xrefs: // > std::__ndk1::basic_filebuf>::~basic_filebuf @ 0x80a894 // > sub_80E1B0 @ 0x80e1e6 // > sub_80E260 @ 0x80e298 // // 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:01:29 +0000 // // Alternative name is '_ZNSt6__ndk113basic_filebufIcNS_11char_traitsIcEEED1Ev' int __fastcall std::filebuf::~filebuf(int a1) { FILE *v2; // r5 void *v3; // r0 void *v4; // r0 v2 = *(FILE **)(a1 + 64); *(_DWORD *)a1 = &off_D12D98; if ( v2 ) { std::filebuf::sync(a1); if ( !fclose(v2) ) *(_DWORD *)(a1 + 64) = 0; } if ( *(_BYTE *)(a1 + 96) ) { v3 = *(void **)(a1 + 32); if ( v3 ) operator delete[](v3); } if ( *(_BYTE *)(a1 + 97) ) { v4 = *(void **)(a1 + 56); if ( v4 ) operator delete[](v4); } std::streambuf::~streambuf((_DWORD *)a1); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source