// // SetupTimeWarpPopup::determineStartValues from 0x1404638d0 to 0x1404639d9 (265 bytes) // // 5 xrefs: // > @ 0x1405fa2a0 // > @ 0x1406a4678 // > @ 0x1406a46ac // > @ 0x1406daf04 // > @ 0x1406daf10 // // 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 SetupTimeWarpPopup::determineStartValues(SetupTimeWarpPopup *a1) { __int64 v2; // rcx cocos2d::CCArray *m_gameObjects; // rbx unsigned int v4; // edi float v5; // xmm6_4 struct cocos2d::CCObject *v6; // rax SetupTriggerPopup::determineStartValues(a1); if ( a1->m_gameObject ) { m_gameObjects = (cocos2d::CCArray *)cocos2d::CCArray::create(v2); cocos2d::CCArray::addObject(m_gameObjects, a1->m_gameObject); } else { m_gameObjects = a1->m_gameObjects; } if ( m_gameObjects ) { if ( cocos2d::CCArray::count(m_gameObjects) ) { v4 = 0; v5 = -1.0; a1->m_timeWarpMod = 1.0; if ( cocos2d::CCArray::count(m_gameObjects) ) { do { v6 = cocos2d::CCArray::objectAtIndex(m_gameObjects, v4); if ( v5 == -1.0 ) { v5 = *(float *)&v6[31].m_nZOrder; } else if ( v5 != *(float *)&v6[31].m_nZOrder ) { v5 = -2.0; } ++v4; } while ( v4 < cocos2d::CCArray::count(m_gameObjects) ); if ( v5 > 0.0 ) a1->m_timeWarpMod = v5; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source