// // sub_B94EA8 from 0xb94ea8 to 0xb94f40 (152 bytes) // // 3 xrefs: // > cocos2d::extension::AssetsManager::downLoad @ 0xa982f8 // > cocos2d::extension::AssetsManager::checkUpdate @ 0xa99038 // > cocos2d::extension::ThreadCurlHandle::~ThreadCurlHandle @ 0xaaad34 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_B94EA8(__int64 result) { __int64 v1; // x19 int v2; // w0 _QWORD v3[4]; // [xsp+28h] [xbp+28h] BYREF _QWORD v4[2]; // [xsp+48h] [xbp+48h] BYREF __int64 v5; // [xsp+58h] [xbp+58h] __int64 v6; // [xsp+60h] [xbp+60h] unsigned __int8 v7; // [xsp+68h] [xbp+68h] if ( result ) { v1 = result; v2 = *(unsigned __int8 *)(result + 1596); v7 = v2; if ( !v2 ) { v4[0] = 0; v4[1] = 0; v5 = 0; v6 = 0; sigaction(13, nullptr, (struct sigaction *)v4); v3[0] = v4[0]; v3[2] = v5; v3[3] = v6; v3[1] = 1; sigaction(13, (const struct sigaction *)v3, nullptr); } sub_B83394(v1); result = v7; if ( !v7 ) return sigaction(13, (const struct sigaction *)v4, nullptr); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source