// // sub_1004A5D90 from 0x1004a5d90 to 0x1004a5de5 (85 bytes) // // 3 xrefs: // > @ 0x1004a5422 // > @ 0x1004a5d66 // > @ 0x1004a5d7a // // 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:30:54 +0000 // void __fastcall sub_1004A5D90(void **a1) { void **v1; // rbx std::__thread_struct *v2; // r14 v1 = (void **)*a1; *a1 = nullptr; if ( v1 ) { if ( ((_BYTE)v1[3] & 1) != 0 ) operator delete(v1[5]); v2 = (std::__thread_struct *)*v1; *v1 = nullptr; if ( v2 ) { std::__thread_struct::~__thread_struct(v2); operator delete(v2); } operator delete(v1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source