// // cocos2d::CCSet::anyObject from 0x18000f9c0 to 0x18000fa4b (139 bytes) // // 1 xrefs: // > @ 0x1801438a8 // // 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 // struct cocos2d::CCObject *__fastcall cocos2d::CCSet::anyObject(cocos2d::CCSet *this) { std::set *m_pSet; // rcx _QWORD *p_Left; // rcx _QWORD *j; // rax __int64 **v4; // rdx __int64 i; // rdx __int64 *v6; // r8 m_pSet = this->m_pSet; if ( !m_pSet ) return nullptr; if ( !m_pSet->_Mypair._Myval2._Myval2._Mysize ) return nullptr; p_Left = &m_pSet->_Mypair._Myval2._Myval2._Myhead->_Left; j = (_QWORD *)*p_Left; if ( (_QWORD *)*p_Left == p_Left ) return nullptr; while ( !j[4] ) { v4 = (__int64 **)j[2]; if ( *((_BYTE *)v4 + 25) ) { for ( i = j[1]; !*(_BYTE *)(i + 25); i = *(_QWORD *)(i + 8) ) { if ( j != *(_QWORD **)(i + 16) ) break; j = (_QWORD *)i; } j = (_QWORD *)i; } else { v6 = *v4; for ( j = (_QWORD *)j[2]; !*((_BYTE *)v6 + 25); v6 = (__int64 *)*v6 ) j = v6; } if ( j == p_Left ) return nullptr; } return (struct cocos2d::CCObject *)j[4]; }
GD Web Decomp Icon

GD Web Decomp

Raw Source