// // DS_Dictionary::setObjectForKey from 0x1001eb398 to 0x1001eb528 (400 bytes) // // 2 xrefs: // > DS_Dictionary::setArrayForKey @ 0x1001eb350 // > DS_Dictionary::setDictForKey @ 0x1001eb904 // // This function is hookable on this platform (idp: arm, 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:00:35 +0000 // void __fastcall DS_Dictionary::setObjectForKey(__int64 a1, const char *a2, void *lpsrc) { char *CString; // x0 __int64 v7; // x8 void *v8[2]; // [xsp+8h] [xbp-58h] BYREF __int64 v9; // [xsp+18h] [xbp-48h] void *__p[2]; // [xsp+20h] [xbp-40h] BYREF __int64 v11; // [xsp+30h] [xbp-30h] if ( lpsrc ) { if ( __dynamic_cast( lpsrc, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCString, 0) ) { CString = (char *)cocos2d::CCString::getCString(lpsrc); sub_100009900(v8, CString); *(_OWORD *)__p = *(_OWORD *)v8; v11 = v9; v8[1] = nullptr; v9 = 0; v8[0] = nullptr; sub_1001EB14C(a1, a2, (__int64 *)__p, 0); if ( SHIBYTE(v11) < 0 ) operator delete(__p[0]); if ( SHIBYTE(v9) < 0 ) operator delete(v8[0]); return; } if ( __dynamic_cast( lpsrc, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCDictionary, 0) ) { DS_Dictionary::setDictForKey(a1, a2, lpsrc); return; } if ( __dynamic_cast( lpsrc, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCArray, 0) ) { DS_Dictionary::setArrayForKey(a1, a2, (__int64)lpsrc); return; } } if ( (*(unsigned int (__fastcall **)(void *))(*(_QWORD *)lpsrc + 56LL))(lpsrc) ) { DS_Dictionary::setSubDictForKey(a1, a2, 0, 1); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)lpsrc + 48LL))(lpsrc, a1); v7 = *(_QWORD *)(a1 + 216); if ( (unsigned __int64)(v7 - *(_QWORD *)(a1 + 208)) >= 9 ) *(_QWORD *)(a1 + 216) = v7 - 8; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source