// // SetupPortalPopup::onUnboundMode from 0x50333e to 0x503386 (72 bytes) // // 0 xrefs: // // 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 // void SetupPortalPopup::onUnboundMode(SetupPortalPopup *a1, cocos2d::CCObject *a2) { cocos2d::CCArray *m_gameObjects; // r4 bool v4; // r3 int v5; // r0 m_gameObjects = a1->m_gameObjects; v4 = !a1->m_freeMode; a1->m_freeMode = v4; if ( m_gameObjects ) { LOBYTE(m_gameObjects[27].m_uOrderOfArrival) = v4; } else { while ( (unsigned int)m_gameObjects < cocos2d::CCArray::count((cocos2d::CCArray *)a1->m_gameObject) ) { v5 = cocos2d::CCArray::objectAtIndex((cocos2d::CCArray *)a1->m_gameObject, (unsigned int)m_gameObjects); m_gameObjects = (cocos2d::CCArray *)((char *)m_gameObjects + 1); *(_BYTE *)(v5 + 1556) = a1->m_freeMode; } } SetupPortalPopup::updateItemVisibility(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source