// // cocos2d::CCDictionary::setObject from 0x18000b7a0 to 0x18000b93c (412 bytes) // // 7 xrefs: // > cocos2d::CCEGLViewProtocol::handleTouchesBegin @ 0x18006dd64 // > cocos2d::CCTMXMapInfo::startElement @ 0x1800b4523 // > cocos2d::CCTouchDispatcher::ownerLevelOf @ 0x1800b6c22 // > cocos2d::CCTouchDispatcher::registerForcePrio @ 0x1800b6cc5 // > cocos2d::CCTouchDispatcher::registerForcePrio @ 0x1800b6d02 // > @ 0x18014cf68 // > @ 0x1801b7e28 // // 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 11:21:20 +0000 // void __fastcall cocos2d::CCDictionary::setObject(cocos2d::CCDictionary *this, struct cocos2d::CCObject *a2, __int64 a3) { __int64 v6; // r11 int v7; // r8d int v8; // edx unsigned int v9; // r8d unsigned int v10; // ecx int v11; // edx unsigned int v12; // r8d unsigned int v13; // ecx int v14; // edx unsigned __int64 v15; // rax __int64 v16; // r8 __int64 v17; // rbx __int64 v18; // rcx __int64 v19; // rbx __int64 v20; // rax cocos2d::CCObject *v21; // rcx int v22; // [rsp+40h] [rbp+18h] v22 = a3; if ( !*((_DWORD *)this + 16) ) *((_DWORD *)this + 16) = 2; v6 = *((_QWORD *)this + 7); if ( !v6 ) goto LABEL_10; v7 = ((BYTE5(a3) + ((BYTE6(a3) + (HIBYTE(a3) << 8)) << 8)) << 8) + BYTE4(a3) - 1640531527; v8 = (((BYTE1(v22) + ((BYTE2(v22) + (HIBYTE(v22) << 8)) << 8)) << 8) - v7 + (unsigned __int8)a3 - 1622558014) ^ 0x7F76D; v9 = (v8 << 8) ^ (v7 - v8 + 17973513); v10 = (v9 >> 13) ^ (-17973513 - v9 - v8); v11 = (v10 >> 12) ^ (v8 - v10 - v9); v12 = (v11 << 16) ^ (v9 - v10 - v11); v13 = (v12 >> 5) ^ (v10 - v12 - v11); v14 = (v13 >> 3) ^ (v11 - v13 - v12); v15 = (v12 - v14 - v13) ^ (v14 << 10); v16 = *(_QWORD *)(v6 + 272); v17 = *(_QWORD *)(*(_QWORD *)v16 + 16 * ((unsigned int)(*(_DWORD *)(v16 + 8) - 1) & ((v15 >> 15) ^ (v13 - (unsigned int)v15 - v14)))); if ( !v17 ) goto LABEL_10; v18 = *(_QWORD *)(v16 + 32); v19 = v17 - v18; if ( v19 ) { while ( *(_DWORD *)(v19 + 320) != 8 || **(_QWORD **)(v19 + 312) != a3 ) { v20 = *(_QWORD *)(v19 + 304); if ( v20 ) { v19 = v20 - v18; if ( v20 != v18 ) continue; } goto LABEL_10; } v21 = *(cocos2d::CCObject **)(v19 + 264); if ( v21 != a2 ) { cocos2d::CCObject::release(v21); *(_QWORD *)(v19 + 264) = a2; cocos2d::CCObject::retain(a2); } } else { LABEL_10: cocos2d::CCDictionary::setObjectUnSafe(this, a2, a3); } }