// // SetupPickupTriggerPopup::onCustomToggleTriggerValue from 0x1405ccb70 to 0x1405ccc22 (178 bytes) // // 2 xrefs: // > @ 0x1407f9fd0 // > @ 0x14092e598 // // This function is hookable on this platform (idp: pc, 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 11:34:53 +0000 // __int64 __fastcall SetupPickupTriggerPopup::onCustomToggleTriggerValue(cocos2d::CCDictionary **a1, __int64 a2) { int v3; // ebx int v4; // esi struct cocos2d::CCObject *v5; // rax __int64 v6; // rdx struct cocos2d::CCObject *v7; // rax __int64 v8; // rdx v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); v4 = 0; if ( (int)(*((float (__fastcall **)(cocos2d::CCDictionary **, __int64))*a1 + 146))(a1, 88) != v3 ) v4 = v3; v5 = cocos2d::CCDictionary::objectForKey(a1[97], 1); if ( v5 ) { LOBYTE(v6) = v4 == 1; CCMenuItemToggler::toggle((__int64)v5, v6); } v7 = cocos2d::CCDictionary::objectForKey(a1[97], 2); if ( v7 ) { LOBYTE(v8) = v4 == 2; CCMenuItemToggler::toggle((__int64)v7, v8); } SetupTriggerPopup::updateValue(a1, 88); return SetupPickupTriggerPopup::updateState((__int64)a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source