// // SetupObjectOptionsPopup::onReverse from 0x975754 to 0x9757ec (152 bytes) // // 3 xrefs: // > @ 0xb0430 // > SetupObjectOptionsPopup::init @ 0x97b7c8 // > @ 0x122e190 // // 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; // x1 GameObject *m_gameObject; // x2 bool v4; // w1 unsigned int v6; // w20 bool v7; // cf unsigned int v8; // w1 __int64 v9; // x0 m_groupIDLayer = a1->m_groupIDLayer; if ( m_groupIDLayer ) m_groupIDLayer->m_reverseChanged = 1; m_gameObject = a1->m_gameObject; v4 = !a1->m_reverse; a1->m_reverse = v4; if ( m_gameObject ) { if ( m_gameObject->m_classType == Effect ) LOBYTE(m_gameObject[1].m_obRect.origin.y) = v4; } else { v6 = 0; while ( 1 ) { v7 = v6 >= (unsigned int)cocos2d::CCArray::count(a1->m_gameObjects); v8 = v6++; if ( v7 ) break; v9 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v8); if ( *(_DWORD *)(v9 + 1232) == 1 ) *(_BYTE *)(v9 + 1764) = a1->m_reverse; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source