// // SetupMoveCommandPopup::onCustomToggleTriggerValue from 0x8e40d8 to 0x8e4198 (192 bytes) // // 2 xrefs: // > @ 0xba870 // > @ 0x11a1cb0 // // 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; // w19 bool v4; // w21 float v5; // s0 bool v6; // w19 v3 = a2->getTag(a2); if ( (unsigned int)(v3 - 1) <= 1 ) { if ( v3 == (int)a1->getValue(a1, 101) ) { v5 = 0.0; v6 = 0; v4 = 0; } else { v4 = v3 == 1; v5 = (float)v3; v6 = v3 == 2; } SetupTriggerPopup::updateValue(a1, 101, v5); SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v4); SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v6); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source