// // SetupSequenceTriggerPopup::onAddChance from 0xa59c7c to 0xa59d30 (180 bytes) // // 3 xrefs: // > @ 0x72b40 // > SetupSequenceTriggerPopup::init @ 0xa58e6c // > @ 0x122bca8 // // 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 SetupSequenceTriggerPopup::onAddChance(SetupSequenceTriggerPopup *a1, cocos2d::CCObject *a2) { float v3; // s8 float v4; // s0 CCMenuItemSpriteExtra *m_selectedButton; // x0 int v6; // w2 SequenceTriggerGameObject *m_gameObject; // x20 int v8; // w0 int v9; // w1 int v10; // [xsp+38h] [xbp+38h] v3 = a1->getValue(a1, -1); v4 = a1->getValue(a1, -2); m_selectedButton = a1->m_selectedButton; v6 = (int)v4; if ( m_selectedButton ) { if ( !v6 ) return; v10 = (int)v4; m_gameObject = (SequenceTriggerGameObject *)a1->m_gameObject; v8 = m_selectedButton->getTag(m_selectedButton); SequenceTriggerGameObject::addCount(m_gameObject, v8, v10); LABEL_5: SetupSequenceTriggerPopup::updateGroupIDButtons(a1); return; } v9 = (int)v3; if ( v6 > 0 && v9 > 0 ) { SequenceTriggerGameObject::addTarget((SequenceTriggerGameObject *)a1->m_gameObject, v9, v6); goto LABEL_5; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source