//
// SetupSpawnPopup::onPasteRemap from 0xa42cac to 0xa42cf0 (68 bytes)
//
// 3 xrefs:
// > ??> @ 0x1027f0
// > SetupSpawnPopup::init @ 0xa43f1c
// > ??> @ 0x1547e48
//
// This function is hookable on this platform (idp: arm, 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:59:57 +0000
//
_BYTE *__fastcall SetupSpawnPopup::onPasteRemap(SetupSpawnPopup *this, cocos2d::CCObject *a2)
{
_BYTE *result; // x0
__int64 *i; // x19
result = *(_BYTE **)(GameManager::sharedState(this) + 552);
for ( i = *((__int64 **)result + 1864); i; i = (__int64 *)*i )
result = SetupSpawnPopup::addRemap(this, (cocos2d::CCObject *)*((unsigned int *)i + 4), *((_DWORD *)i + 5));
return result;
}