// // UIObjectSettingsPopup::onCustomToggleTriggerValue from 0x10040b488 to 0x10040b55c (212 bytes) // // 1 xrefs: // > @ 0x10081a8c0 // // 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 UIObjectSettingsPopup::onCustomToggleTriggerValue(UIObjectSettingsPopup *a1, cocos2d::CCObject *a2) { int v3; // w0 int v4; // w20 int v5; // w21 int v6; // w22 int v7; // w23 int v8; // w1 v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); v4 = v3; if ( v3 > 4 ) { SetupTriggerPopup::updateValue(a1, 386, (float)(unsigned int)v3); v5 = 8; v6 = 7; v7 = 6; v8 = 5; } else { SetupTriggerPopup::updateValue(a1, 385, (float)v3); v5 = 4; v6 = 3; v7 = 2; v8 = 1; } SetupTriggerPopup::updateCustomToggleTrigger(a1, v8, v4 == v8); SetupTriggerPopup::updateCustomToggleTrigger(a1, v7, v4 == v7); SetupTriggerPopup::updateCustomToggleTrigger(a1, v6, v4 == v6); SetupTriggerPopup::updateCustomToggleTrigger(a1, v5, v4 == v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source