// // sub_180002890 from 0x180002890 to 0x18000292c (156 bytes) // // 10 xrefs: // > cocos2d::extension::AssetsManager::checkUpdate @ 0x1800018cc // > cocos2d::extension::AssetsManager::checkUpdate @ 0x180001991 // > sub_1800019C0 @ 0x180001a44 // > sub_1800019C0 @ 0x180001a99 // > sub_1800019C0 @ 0x180001abf // > sub_1800021D0 @ 0x180002242 // > cocos2d::extension::AssetsManager::downLoad @ 0x1800023a0 // > cocos2d::extension::AssetsManager::downLoad @ 0x18000249c // > cocos2d::extension::AssetsManager::sendErrorMessage @ 0x1800027b8 // > @ 0x18004b15c // // 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:15:34 +0000 // // Hidden C++ exception states: #wind=1 __int64 __fastcall sub_180002890(__int64 a1, __int64 a2) { __int64 v4; // rsi __int64 *v5; // rbx __int64 v6; // rdi _QWORD *v7; // rax _QWORD *v8; // rdx v4 = a1 + 64; pthread_mutex_lock(a1 + 64); v5 = *(__int64 **)(a1 + 56); v6 = *v5; if ( v5[1] == 0xAAAAAAAAAAAAAAALL ) std::_Xlength_error("list too long"); v7 = (_QWORD *)sub_18001F040(0x18u); v7[2] = a2; ++v5[1]; v8 = *(_QWORD **)(v6 + 8); *v7 = v6; v7[1] = v8; *(_QWORD *)(v6 + 8) = v7; *v8 = v7; return pthread_mutex_unlock(v4); }