// // sub_1002DDCE0 from 0x1002ddce0 to 0x1002ddd30 (80 bytes) // // 1 xrefs: // > cocos2d::extension::CCHttpClient::availableThreadCount @ 0x1002de0b0 // // 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 11:02:46 +0000 // unsigned __int64 __fastcall sub_1002DDCE0(__int64 a1) { unsigned __int64 v2; // x8 unsigned __int64 v3; // x9 bool v4; // cf unsigned __int64 v5; // x8 unsigned __int64 v6; // x20 std::mutex::lock((std::mutex *)(a1 + 72)); v2 = *(_QWORD *)(a1 + 64) + *(_QWORD *)(a1 + 192); v3 = (__int64)(*(_QWORD *)(a1 + 8) - *(_QWORD *)a1) >> 3; v4 = v3 >= v2; v5 = v3 - v2; if ( v4 ) v6 = v5; else v6 = 0; std::mutex::unlock((std::mutex *)(a1 + 72)); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source