// // SetupMoveCommandPopup::onCustomToggleTriggerValue from 0x4b89ca to 0x4b8a32 (104 bytes) // // 0 xrefs: // // 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 SetupMoveCommandPopup::onCustomToggleTriggerValue(SetupMoveCommandPopup *a1, cocos2d::CCObject *a2) { int v3; // r4 v3 = a2->getTag(a2); if ( (unsigned int)(v3 - 1) <= 1 ) { if ( (int)a1->getValue(a1, 101) == v3 ) v3 = 0; SetupTriggerPopup::updateValue(a1, 101, (float)v3); SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v3 == 1); SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v3 == 2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source