// // SetupSpawnPopup::onSelectRemap from 0x14045fa50 to 0x14045fb18 (200 bytes) // // 2 xrefs: // > SetupSpawnPopup::updateRemapButtons @ 0x14045f813 // > @ 0x1406dadb4 // // 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 SetupSpawnPopup::onSelectRemap(SetupSpawnPopup *a1, cocos2d::CCObject *a2) { int v3; // eax std::_Vector_val>::pointer Myfirst; // rdx int v5; // r8d std::_Simple_types::value_type *v6; // rcx if ( !a1->m_isBusy ) { v3 = a2->getTag(a2); Myfirst = a1->m_remapGroups._Mypair._Myval2._Myfirst; if ( ((char *)a1->m_remapGroups._Mypair._Myval2._Mylast - (char *)Myfirst) >> 3 <= (unsigned __int64)v3 ) sub_14045FB70(); v5 = Myfirst[2 * v3]; v6 = &Myfirst[2 * v3]; if ( a1->m_remapOriginalID == v5 && a1->m_remapNewID == v6[1] ) { *(_QWORD *)&a1->m_remapOriginalID = 0; SetupSpawnPopup::queueUpdateButtons(a1); } else { a1->m_remapOriginalID = v5; a1->m_remapNewID = v6[1]; SetupTriggerPopup::updateValue(a1, -1, (float)v5); SetupTriggerPopup::updateValue(a1, -2, (float)a1->m_remapNewID); SetupSpawnPopup::queueUpdateButtons(a1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source