// // sub_100425EB0 from 0x100425eb0 to 0x100425fba (266 bytes) // // 1 xrefs: // > cocos2d::extension::CCHttpClient::send @ 0x1004263fa // // 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_100425EB0(__int64 a1, __int64 a2) { std::mutex *v4; // r14 __int64 v5; // rsi __int64 v6; // rax __int64 v7; // rdx unsigned __int64 v8; // r12 __int64 v9; // rdi __int64 v10; // rax v4 = (std::mutex *)(a1 + 72); std::mutex::lock((std::mutex *)(a1 + 72)); if ( *(_BYTE *)(a1 + 184) ) { std::mutex::unlock(v4); return; } v5 = *(_QWORD *)(a1 + 32); v6 = *(_QWORD *)(a1 + 40); v7 = 0; if ( v6 != v5 ) v7 = 85 * ((*(_QWORD *)(a1 + 40) - v5) >> 3) - 1; if ( v7 == *(_QWORD *)(a1 + 56) + *(_QWORD *)(a1 + 64) ) { sub_100426BC0(a1 + 24); v5 = *(_QWORD *)(a1 + 32); v6 = *(_QWORD *)(a1 + 40); } if ( v6 == v5 ) { v8 = 0; v9 = *(_QWORD *)(a2 + 32); if ( v9 ) goto LABEL_9; LABEL_12: v10 = 0; goto LABEL_13; } v8 = *(_QWORD *)(v5 + 8 * ((*(_QWORD *)(a1 + 56) + *(_QWORD *)(a1 + 64)) / 0x55uLL)) + 48 * ((*(_QWORD *)(a1 + 56) + *(_QWORD *)(a1 + 64)) % 0x55uLL); v9 = *(_QWORD *)(a2 + 32); if ( !v9 ) goto LABEL_12; LABEL_9: if ( v9 == a2 ) { *(_QWORD *)(v8 + 32) = v8; (*(void (__fastcall **)(_QWORD, unsigned __int64))(**(_QWORD **)(a2 + 32) + 24LL))(*(_QWORD *)(a2 + 32), v8); goto LABEL_15; } v10 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 16LL))(v9); LABEL_13: *(_QWORD *)(v8 + 32) = v10; LABEL_15: ++*(_QWORD *)(a1 + 64); std::mutex::unlock(v4); std::condition_variable::notify_one((std::condition_variable *)(a1 + 136)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source