// // std::__ndk1::__thread_struct::__make_ready_at_thread_exit from 0xf86c34 to 0xf86ca8 (116 bytes) // // 3 xrefs: // > std::__ndk1::__assoc_sub_state::set_value_at_thread_exit @ 0xf87310 // > std::__ndk1::__assoc_sub_state::set_exception_at_thread_exit @ 0xf875c0 // > @ 0x4ce10 // // 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 13:13:53 +0000 // __int64 __fastcall std::__thread_struct::__make_ready_at_thread_exit( std::__thread_struct *this, std::__assoc_sub_state *a2) { __int64 v2; // x0 _QWORD *v3; // x8 __int64 result; // x0 std::__shared_count *v5[2]; // [xsp+0h] [xbp-10h] BYREF v5[1] = *(std::__shared_count **)(_ReadStatusReg(TPIDR_EL0) + 40); v2 = *(_QWORD *)this; v5[0] = a2; v3 = *(_QWORD **)(v2 + 8); if ( v3 == *(_QWORD **)(v2 + 16) ) { sub_F86DD4(v2, v5); } else { *v3 = a2; *(_QWORD *)(v2 + 8) += 8LL; } result = std::__shared_count::__add_shared((__int64)v5[0]); _ReadStatusReg(TPIDR_EL0); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source