//
// SetupSpawnPopup::onAddRemap from 0xa42c3c to 0xa42cac (112 bytes)
//
// 3 xrefs:
// > ??> @ 0xda878
// > SetupSpawnPopup::init @ 0xa43c50
// > ??> @ 0x1546888
//
// 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::onAddRemap(_BYTE *this, cocos2d::CCObject *a2)
{
_BYTE *v2; // x19
float v3; // s8
float v4; // s0
if ( !*(this + 1012) )
{
v2 = this;
v3 = (*(float (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)this + 1464LL))(this, 0xFFFFFFFFLL);
v4 = (*(float (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v2 + 1464LL))(v2, 4294967294LL);
return SetupSpawnPopup::addRemap(v2, (cocos2d::CCObject *)(unsigned int)(int)v3, (int)v4);
}
return this;
}