// // cocos2d::extension::CCHttpClient::dispatchResponseCallbacks from 0x100438650 to 0x100438720 (208 bytes) // // 2 xrefs: // > cocos2d::extension::CCHttpClient::CCHttpClient @ 0x1004385f7 // > cocos2d::extension::CCHttpClient::dCCHttpClient @ 0x1004387e3 // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall cocos2d::extension::CCHttpClient::dispatchResponseCallbacks( cocos2d::extension::CCHttpClient *a1, float a2) { cocos2d::CCObject *v3; // r14 cocos2d::CCObject_vtbl *v4; // rcx bool (__cdecl *canEncode)(cocos2d::CCObject *__hidden); // rdi int (__cdecl *getTag)(const cocos2d::CCObject *__hidden); // rax _QWORD *v7; // rdi std::mutex::lock(&stru_10099C958); if ( (unsigned int)sub_100720070(qword_1009A1770) ) { v3 = (cocos2d::CCObject *)sub_1007200C0(qword_1009A1770, 0); cocos2d::CCObject::retain(v3); sub_100720230(qword_1009A1770, 0, 1); std::mutex::unlock(&stru_10099C958); if ( v3 ) { v4 = v3[1].__vftable; if ( v4 ) { canEncode = v4[1].canEncode; getTag = v4[1].getTag; if ( canEncode != nullptr && getTag != nullptr ) { v7 = (_QWORD *)((char *)v4[1].setTag + (unsigned __int64)canEncode); if ( ((unsigned __int8)getTag & 1) != 0 ) getTag = *(int (__cdecl **)(const cocos2d::CCObject *__hidden))((char *)getTag + *v7 - 1); ((void (__fastcall *)(_QWORD *, cocos2d::extension::CCHttpClient *, cocos2d::CCObject *, double))getTag)( v7, a1, v3, *(double *)&a2); } } cocos2d::CCObject::release(v3); } } else { std::mutex::unlock(&stru_10099C958); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source