// // SetupItemEditTriggerPopup::onCustomToggleTriggerValue from 0xb7bb08 to 0xb7bd78 (624 bytes) // // 2 xrefs: // > @ 0xdcc60 // > @ 0x14d0230 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:02:25 +0000 // __int64 __fastcall SetupItemEditTriggerPopup::onCustomToggleTriggerValue( cocos2d::CCDictionary **this, cocos2d::CCObject *a2) { int v3; // w0 int v4; // w19 cocos2d::CCDictionary *v5; // x2 unsigned __int8 v6; // w25 unsigned __int8 v7; // w24 unsigned __int8 v8; // w23 float v9; // s0 unsigned __int8 v10; // w22 unsigned __int8 v11; // w21 __int64 v12; // x1 int v13; // w1 IDNameInput *v14; // x21 int v15; // w0 unsigned __int8 v17; // w25 unsigned __int8 v18; // w24 unsigned __int8 v19; // w23 float v20; // s0 unsigned __int8 v21; // w22 unsigned __int8 v22; // w21 v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v4 = v3; if ( v3 > 1000 ) { v4 = v3 - 1000; SetupTriggerPopup::updateValue(this, 0x1DEu, (float)(v3 - 1000)); SetupTriggerPopup::updateCustomToggleTrigger(this, 1001, v4 == 1); SetupTriggerPopup::updateCustomToggleTrigger(this, 1002, v4 == 2); SetupTriggerPopup::updateCustomToggleTrigger(this, 1003, v4 == 3); v12 = 51; } else { v5 = *this; if ( v3 > 100 ) { v4 = v3 - 100; if ( (int)(*((float (__fastcall **)(cocos2d::CCDictionary **, __int64))v5 + 183))(this, 477) == v3 - 100 ) { v20 = 0.0; v22 = 0; v21 = 0; v19 = 0; v18 = 0; v17 = 0; v4 = 0; } else { v17 = v4 == 1; v18 = v4 == 2; v19 = v4 == 3; v20 = (float)v4; v21 = v4 == 4; v22 = v4 == 5; } SetupTriggerPopup::updateValue(this, 0x1DDu, v20); SetupTriggerPopup::updateCustomToggleTrigger(this, 101, v17); SetupTriggerPopup::updateCustomToggleTrigger(this, 102, v18); SetupTriggerPopup::updateCustomToggleTrigger(this, 103, v19); SetupTriggerPopup::updateCustomToggleTrigger(this, 104, v21); SetupTriggerPopup::updateCustomToggleTrigger(this, 105, v22); v12 = 95; } else { if ( v3 == (int)(*((float (__fastcall **)(cocos2d::CCDictionary **, __int64))v5 + 183))(this, 476) ) { v9 = 0.0; v11 = 0; v10 = 0; v8 = 0; v7 = 0; v6 = 0; v4 = 0; } else { v6 = v4 == 1; v7 = v4 == 2; v8 = v4 == 3; v9 = (float)v4; v10 = v4 == 4; v11 = v4 == 5; } SetupTriggerPopup::updateValue(this, 0x1DCu, v9); SetupTriggerPopup::updateCustomToggleTrigger(this, 1, v6); SetupTriggerPopup::updateCustomToggleTrigger(this, 2, v7); SetupTriggerPopup::updateCustomToggleTrigger(this, 3, v8); SetupTriggerPopup::updateCustomToggleTrigger(this, 4, v10); SetupTriggerPopup::updateCustomToggleTrigger(this, 5, v11); v12 = 80; } } v14 = (IDNameInput *)cocos2d::CCDictionary::objectForKey(*(this + 125), v12); if ( v14 ) { v15 = IDNameInput::idNameTypeForItemValueType((IDNameInput *)(unsigned int)v4, v13); IDNameInput::setType(v14, v15); } return SetupItemEditTriggerPopup::updateFormulaLabel((SetupItemEditTriggerPopup *)this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source