// // SetItemIDLayer::onCustomToggleTriggerValue from 0x10041a2c0 to 0x10041a3c8 (264 bytes) // // 1 xrefs: // > @ 0x100823a68 // // 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 SetItemIDLayer::onCustomToggleTriggerValue(SetItemIDLayer *a1, cocos2d::CCObject *a2) { int v3; // w20 float (__cdecl *getValue)(SetupTriggerPopup *__hidden, int); // x8 v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); getValue = a1->getValue; if ( (unsigned int)(v3 - 1) > 1 ) { if ( v3 == (int)((float (__fastcall *)(SetItemIDLayer *, __int64))getValue)(a1, 390) ) v3 = 0; SetupTriggerPopup::updateValue(a1, 390, (float)v3); SetupTriggerPopup::updateCustomToggleTrigger(a1, -1, v3 == -1); SetupTriggerPopup::updateCustomToggleTrigger(a1, -2, v3 == -2); SetupTriggerPopup::updateCustomToggleTrigger(a1, -3, v3 == -3); SetupTriggerPopup::updateValue(a1, 80, 0.0); } else { if ( v3 == (int)((float (__fastcall *)(SetItemIDLayer *, __int64))getValue)(a1, 391) ) v3 = 0; SetupTriggerPopup::updateValue(a1, 391, (float)(unsigned int)v3); SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v3 == 1); SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v3 == 2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source