// // SetupObjectOptionsPopup::onGripSlope from 0x975414 to 0x975484 (112 bytes) // // 3 xrefs: // > @ 0x3d128 // > SetupObjectOptionsPopup::init @ 0x97b2bc // > @ 0x1229f18 // // 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::onGripSlope(SetupObjectOptionsPopup *a1, cocos2d::CCObject *a2) { GameObject *m_gameObject; // x2 bool v3; // w1 unsigned int v5; // w20 bool v6; // cf unsigned int v7; // w1 m_gameObject = a1->m_gameObject; v3 = !a1->m_gripSlope; a1->m_gripSlope = v3; if ( m_gameObject ) { m_gameObject->m_isGripSlope = v3; } else { v5 = 0; while ( 1 ) { v6 = v5 >= (unsigned int)cocos2d::CCArray::count(a1->m_gameObjects); v7 = v5++; if ( v6 ) break; *(_BYTE *)(cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v7) + 1282) = a1->m_gripSlope; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source