//
// SetupSpawnPopup::onPasteRemap from 0x10027b6e0 to 0x10027b72d (77 bytes)
//
// 1 xrefs:
// > SetupSpawnPopup::init @ 0x10027b2de
//
// 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:27:41 +0000
//
__int64 __fastcall SetupSpawnPopup::onPasteRemap(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v3; // rax
__int64 result; // rax
__int64 **i; // r14
GameManager::sharedState(a1, a2, a3);
result = *(_QWORD *)(v3 + 552);
for ( i = *(__int64 ***)(result + 14912); i; i = (__int64 **)*i )
result = SetupSpawnPopup::addRemap(a1, *((unsigned int *)i + 4), *((unsigned int *)i + 5));
return result;
}