//
// SetupSpawnPopup::onAddRemap from 0x5eaab0 to 0x5eab04 (84 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:54:22 +0000
//
unsigned __int8 *__fastcall SetupSpawnPopup::onAddRemap(unsigned __int8 *this, cocos2d::CCObject *a2)
{
unsigned __int8 *v2; // r4
cocos2d::CCObject *v3; // s14
float v4; // s15
v2 = this;
if ( !*(this + 712) )
{
v3 = (cocos2d::CCObject *)(int)COERCE_FLOAT((*(int (__fastcall **)(unsigned __int8 *, int))(*(_DWORD *)this + 732))(this, -1));
v4 = COERCE_FLOAT((*(int (__fastcall **)(unsigned __int8 *, int))(*(_DWORD *)v2 + 732))(v2, -2));
return SetupSpawnPopup::addRemap(v2, v3, (int)v4);
}
return this;
}