//
// SetupSpawnPopup::onPasteRemap from 0x14045f190 to 0x14045f227 (151 bytes)
//
// 2 xrefs:
// > SetupSpawnPopup::init @ 0x14045ec53
// > ??> @ 0x1406dad9c
//
// 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
//
// Hidden C++ exception states: #wind=1
void SetupSpawnPopup::onPasteRemap(SetupSpawnPopup *a1, cocos2d::CCObject *a2)
{
__int64 v3; // rdi
__int64 **v4; // rdi
__int64 *i; // rbx
void *v6; // [rsp+40h] [rbp+18h]
v3 = qword_1406C2ED8;
if ( !qword_1406C2ED8 )
{
v6 = operator new(0x668u);
qword_1406C2ED8 = sub_14017AB00((__int64)v6);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);
v3 = qword_1406C2ED8;
}
v4 = *(__int64 ***)(*(_QWORD *)(v3 + 528) + 15080LL);
for ( i = *v4; i != (__int64 *)v4; i = (__int64 *)*i )
SetupSpawnPopup::addRemap(a1, *((_DWORD *)i + 4), *((_DWORD *)i + 5));
}