// // SetItemIDLayer::onCustomToggleTriggerValue from 0x100063b80 to 0x100063c95 (277 bytes) // // 1 xrefs: // > @ 0x100ab96c8 // // 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 12:19:42 +0000 // __int64 __fastcall SetItemIDLayer::onCustomToggleTriggerValue(__int64 a1, __int64 a2) { int v2; // r14d float (__fastcall *v3)(__int64, __int64); // rax int v4; // r15d int v6; // r15d v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v3 = *(float (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1464LL); if ( (unsigned int)(v2 - 1) > 1 ) { v6 = 0; if ( v2 != (int)v3(a1, 390) ) v6 = v2; SetupTriggerPopup::updateValue(a1, 390, (float)v6); SetupTriggerPopup::updateCustomToggleTrigger(a1, 0xFFFFFFFFLL, v6 == -1); SetupTriggerPopup::updateCustomToggleTrigger(a1, 4294967294LL, v6 == -2); SetupTriggerPopup::updateCustomToggleTrigger(a1, 4294967293LL, v6 == -3); return SetupTriggerPopup::updateValue(a1, 80, 0.0); } else { v4 = 0; if ( v2 != (int)v3(a1, 391) ) v4 = v2; SetupTriggerPopup::updateValue(a1, 391, (float)v4); SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v4 == 1); return SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v4 == 2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source