// // SetupSpawnPopup::onSelectRemap from 0x1000f8bb8 to 0x1000f8c78 (192 bytes) // // 1 xrefs: // > SetupSpawnPopup::updateRemapButtons @ 0x1000f8950 // // 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 SetupSpawnPopup::onSelectRemap(SetupSpawnPopup *a1, cocos2d::CCObject *a2) { int v3; // w0 std::__vector_base::pointer begin; // x9 int *v5; // x9 int v6; // w8 int v7; // w9 if ( !a1->m_isBusy ) { v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); begin = a1->m_remapGroups.__begin_; if ( v3 >= (unsigned __int64)(((char *)a1->m_remapGroups.__end_ - (char *)begin) >> 3) ) sub_1000F8CB4(); v5 = &begin[2 * v3]; v6 = *v5; if ( a1->m_remapOriginalID == *v5 ) { v7 = v5[1]; if ( a1->m_remapNewID == v7 ) { *(_QWORD *)&a1->m_remapOriginalID = 0; LABEL_8: SetupSpawnPopup::queueUpdateButtons(a1); return; } } else { v7 = v5[1]; } a1->m_remapOriginalID = v6; a1->m_remapNewID = v7; SetupTriggerPopup::updateValue(a1, -1, (float)v6); SetupTriggerPopup::updateValue(a1, -2, (float)a1->m_remapNewID); goto LABEL_8; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source