// // sub_100425D50 from 0x100425d50 to 0x100425e2a (218 bytes) // // 2 xrefs: // > sub_100425EA0 @ 0x100425ea5 // > cocos2d::extension::CCHttpClient::dCCHttpClient @ 0x100426275 // // 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:17 +0000 // void __fastcall sub_100425D50(__int64 a1) { std::thread *v2; // r12 std::thread *v3; // r13 std::thread *v4; // r15 std::thread *v5; // r14 std::thread *v6; // rdi std::mutex::lock((std::mutex *)(a1 + 72)); *(_BYTE *)(a1 + 184) = 1; std::mutex::unlock((std::mutex *)(a1 + 72)); std::condition_variable::notify_all((std::condition_variable *)(a1 + 136)); v2 = *(std::thread **)a1; v3 = *(std::thread **)(a1 + 8); while ( v2 != v3 ) { if ( v2->__t_ ) std::thread::join(v2); ++v2; } std::condition_variable::~condition_variable((std::condition_variable *)(a1 + 136)); std::mutex::~mutex((std::mutex *)(a1 + 72)); sub_1004264C0(a1 + 24); v4 = *(std::thread **)a1; if ( *(_QWORD *)a1 ) { v5 = *(std::thread **)(a1 + 8); v6 = *(std::thread **)a1; if ( v5 != v4 ) { do std::thread::~thread(--v5); while ( v5 != v4 ); v6 = *(std::thread **)a1; } *(_QWORD *)(a1 + 8) = v4; operator delete(v6); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source