// // cocos2d::CCDictionary::objectForKey from 0x18000a870 to 0x18000a9c8 (344 bytes) // // 13 xrefs: // > cocos2d::CCDictionary::randomObject @ 0x18000aa0e // > cocos2d::CCDictionary::valueForKey @ 0x18000c565 // > cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel @ 0x18006d939 // > cocos2d::CCEGLViewProtocol::handleTouchesBegin @ 0x18006dc28 // > cocos2d::CCEGLViewProtocol::handleTouchesMove @ 0x18006dfc5 // > cocos2d::CCTMXTiledMap::propertiesForGID @ 0x1800b1d5a // > cocos2d::CCTMXMapInfo::startElement @ 0x1800b550c // > cocos2d::CCTouchDispatcher::ownerLevelOf @ 0x1800b6b6a // > cocos2d::CCTouchDispatcher::ownerLevelOf @ 0x1800b6b82 // > cocos2d::CCTouchDispatcher::ownerLevelOf @ 0x1800b6b96 // > cocos2d::CCTouchDispatcher::registerForcePrio @ 0x1800b6ca1 // > cocos2d::CCTouchDispatcher::unregisterForcePrio @ 0x1800b74cf // > @ 0x18014cf68 // // 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:19 +0000 // struct cocos2d::CCObject *__fastcall cocos2d::CCDictionary::objectForKey(cocos2d::CCDictionary *this, __int64 a2) { __int64 v4; // r11 __int64 v5; // r10 int v6; // r8d int v7; // edx unsigned int v8; // r8d unsigned int v9; // ecx int v10; // edx unsigned int v11; // r8d unsigned int v12; // ecx int v13; // edx unsigned __int64 v14; // rax __int64 v15; // r8 __int64 v16; // rax __int64 v17; // rdx __int64 v18; // rax __int64 v19; // rcx if ( !*((_DWORD *)this + 16) ) return nullptr; v4 = *((_QWORD *)this + 7); v5 = 0; if ( v4 ) { v6 = ((BYTE5(a2) + ((BYTE6(a2) + (HIBYTE(a2) << 8)) << 8)) << 8) + BYTE4(a2) - 1640531527; v7 = (((BYTE1(a2) + ((BYTE2(a2) + (BYTE3(a2) << 8)) << 8)) << 8) - v6 + (unsigned __int8)a2 - 1622558014) ^ 0x7F76D; v8 = (v7 << 8) ^ (v6 - v7 + 17973513); v9 = (v8 >> 13) ^ (-17973513 - v8 - v7); v10 = (v9 >> 12) ^ (v7 - v9 - v8); v11 = (v10 << 16) ^ (v8 - v9 - v10); v12 = (v11 >> 5) ^ (v9 - v11 - v10); v13 = (v12 >> 3) ^ (v10 - v12 - v11); v14 = (v11 - v13 - v12) ^ (v13 << 10); v15 = *(_QWORD *)(v4 + 272); v16 = *(_QWORD *)(*(_QWORD *)v15 + 16 * ((unsigned int)(*(_DWORD *)(v15 + 8) - 1) & ((v14 >> 15) ^ (v12 - (unsigned int)v14 - v13)))); if ( v16 ) { v17 = *(_QWORD *)(v15 + 32); v18 = v16 - v17; if ( v18 ) { while ( *(_DWORD *)(v18 + 320) != 8 || **(_QWORD **)(v18 + 312) != a2 ) { v19 = *(_QWORD *)(v18 + 304); if ( !v19 ) return (struct cocos2d::CCObject *)v5; v18 = v19 - v17; if ( v19 == v17 ) return nullptr; } return *(struct cocos2d::CCObject **)(v18 + 264); } } } return (struct cocos2d::CCObject *)v5; }