// // SetupRotatePopup::onCustomToggleTriggerValue from 0x4f8cae to 0x4f8d24 (118 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 SetupRotatePopup::onCustomToggleTriggerValue(SetupRotatePopup *a1, cocos2d::CCObject *a2) { int v3; // r5 SetupRotatePopup *v4; // r0 float v5; // r2 v3 = a2->getTag(a2); SetupTriggerPopup::updateValue(a1, 97, 0.0); if ( v3 == 1 ) { v4 = a1; v5 = 1.0; goto LABEL_6; } if ( v3 == 2 || !v3 ) { v4 = a1; v5 = 0.0; LABEL_6: SetupTriggerPopup::updateValue(v4, 98, v5); } a1->toggleGroup(a1, 2, v3 == 2); SetupTriggerPopup::updateCustomToggleTrigger(a1, 0, v3 == 0); SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v3 == 2); SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v3 == 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source