// // SetupInstantCountPopup::determineStartValues from 0x1005ea020 to 0x1005ea17a (346 bytes) // // 1 xrefs: // > @ 0x100978d88 // // 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 SetupInstantCountPopup::determineStartValues(SetupInstantCountPopup *a1) { __int64 v1; // rsi __int64 m_gameObjects; // r14 unsigned int v3; // r15d __int64 v4; // rax int m_itemID; // edx int v6; // ecx bool v7; // zf int m_targetID; // edx int v9; // ecx int m_mode; // edx int v11; // ecx int m_targetCount; // ecx int v13; // eax SetupTriggerPopup::determineStartValues(a1); if ( a1->m_gameObject ) { m_gameObjects = sub_10071F9E0(a1, v1); sub_10071FCD0(m_gameObjects, a1->m_gameObject); if ( !m_gameObjects ) return; } else { m_gameObjects = (__int64)a1->m_gameObjects; if ( !m_gameObjects ) return; } *(_QWORD *)&a1->m_itemID = -1; a1->m_targetCount = 99999; a1->m_activateGroup = 1; a1->m_mode = -1; if ( (unsigned int)sub_100720070(m_gameObjects) ) { v3 = 0; do { v4 = sub_1007200C0(m_gameObjects, v3); if ( !*(_BYTE *)(v4 + 1637) ) a1->m_activateGroup = 0; m_itemID = a1->m_itemID; v6 = *(_DWORD *)(v4 + 1680); if ( m_itemID == -1 || (v7 = m_itemID == v6, v6 = 0, !v7) ) a1->m_itemID = v6; m_targetID = a1->m_targetID; v9 = *(_DWORD *)(v4 + 1464); if ( m_targetID == -1 || (v7 = m_targetID == v9, v9 = 0, !v7) ) a1->m_targetID = v9; m_mode = a1->m_mode; v11 = *(_DWORD *)(v4 + 1840); if ( m_mode == -1 || (v7 = m_mode == v11, v11 = 0, !v7) ) a1->m_mode = v11; m_targetCount = a1->m_targetCount; v13 = *(_DWORD *)(v4 + 1836); if ( m_targetCount == 99999 || (v7 = m_targetCount == v13, v13 = 0, !v7) ) a1->m_targetCount = v13; ++v3; } while ( v3 < (unsigned int)sub_100720070(m_gameObjects) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source