// // SetupObjectOptionsPopup::onReverse from 0x5091e8 to 0x509244 (92 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 SetupObjectOptionsPopup::onReverse(SetupObjectOptionsPopup *a1, cocos2d::CCObject *a2) { SetGroupIDLayer *m_groupIDLayer; // r3 GameObject *m_gameObject; // r4 bool v5; // r3 int v6; // r0 m_groupIDLayer = a1->m_groupIDLayer; if ( m_groupIDLayer ) m_groupIDLayer->m_reverseChanged = 1; m_gameObject = a1->m_gameObject; v5 = !a1->m_reverse; a1->m_reverse = v5; if ( m_gameObject ) { if ( m_gameObject->m_classType == Effect ) LOBYTE(m_gameObject[1].m_sQuad.tr.vertices.z) = v5; } else { while ( (unsigned int)m_gameObject < cocos2d::CCArray::count(a1->m_gameObjects) ) { v6 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, (unsigned int)m_gameObject); m_gameObject = (GameObject *)((char *)m_gameObject + 1); if ( *(_DWORD *)(v6 + 1076) == 1 ) *(_BYTE *)(v6 + 1588) = a1->m_reverse; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source