// // EnhancedGameObject::createRotateAction from 0x652848 to 0x6528e8 (160 bytes) // // 13 xrefs: // > EnhancedGameObject::refreshRotateAction @ 0x6528f4 // > EnhancedGameObject::customObjectSetup @ 0x6529ac // > EnhancedGameObject::customSetup @ 0x652d80 // > EnhancedGameObject::customSetup @ 0x652dfc // > EnhancedGameObject::customSetup @ 0x652fa4 // > EnhancedGameObject::customSetup @ 0x653108 // > EnhancedGameObject::customSetup @ 0x6531b0 // > EnhancedGameObject::customSetup @ 0x65325c // > EnhancedGameObject::customSetup @ 0x653454 // > EnhancedGameObject::customSetup @ 0x6537c4 // > EnhancedGameObject::customSetup @ 0x653844 // > EnhancedGameObject::customSetup @ 0x653a4c // > @ 0xb5fc8 // // 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 EnhancedGameObject::createRotateAction(EnhancedGameObject *a1, float a2, int a3) { float m_rotationSpeed; // s2 int v5; // w0 if ( a2 != 0.0 ) a1->m_rotationAngle = a2; m_rotationSpeed = a1->m_rotationSpeed; if ( m_rotationSpeed != 0.0 ) goto LABEL_6; if ( a3 ) { a1->m_rotationDelta = (float)a3 * a2; } else { v5 = rand(); m_rotationSpeed = a2; if ( (float)((float)v5 * 4.6566e-10) > 0.5 ) { LABEL_6: a1->m_rotationDelta = 1.0 * m_rotationSpeed; return; } a1->m_rotationDelta = -1.0 * a2; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source