// // SetupKeyframePopup::onTimeMode from 0x1002015a0 to 0x100201684 (228 bytes) // // 3 xrefs: // > SetupKeyframePopup::init @ 0x100200e6a // > SetupKeyframePopup::init @ 0x100200fb4 // > SetupKeyframePopup::init @ 0x100201101 // // 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 __fastcall SetupKeyframePopup::onTimeMode(SetupKeyframePopup *a1, cocos2d::CCObject *a2) { int v2; // r14d cocos2d::CCDictionary *m_triggerValues; // r12 cocos2d::CCObject *v4; // r15 cocos2d::CCArray *m_timeModeToggles; // rax cocos2d::ccArray *data; // rax int v7; // r14d CCMenuItemToggler **arr; // r15 unsigned __int64 v9; // r12 CCMenuItemToggler *v10; // rbx int v11; // eax v2 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); m_triggerValues = a1->m_triggerValues; v4 = (cocos2d::CCObject *)operator new(0x40u); cocos2d::CCObject::CCObject(v4); v4->__vftable = (cocos2d::CCObject_vtbl *)off_1008B8348; LODWORD(v4[1].__vftable) = v2; cocos2d::CCObject::autorelease(v4); cocos2d::CCDictionary::setObject(m_triggerValues, v4, 379); SetupTriggerPopup::valueChanged(a1, 379, (float)v2); ((void (__fastcall *)(SetupKeyframePopup *, __int64))a1->getValue)(a1, 379); m_timeModeToggles = a1->m_timeModeToggles; if ( m_timeModeToggles ) { data = m_timeModeToggles->data; if ( data->num ) { v7 = (int)(float)v2; arr = (CCMenuItemToggler **)data->arr; v9 = (unsigned __int64)&arr[data->num - 1]; do { v10 = *arr; if ( !*arr ) break; v11 = ((__int64 (__fastcall *)(CCMenuItemToggler *))v10->getTag)(*arr); CCMenuItemToggler::toggle(v10, v11 == v7); ++arr; } while ( (unsigned __int64)arr <= v9 ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source