//
// SetupSpawnPopup::queueUpdateButtons from 0x5eaa1c to 0x5eaa5a (62 bytes)
//
// 3 xrefs:
// > SetupSpawnPopup::addRemap @ 0x5eaaa8
// > SetupSpawnPopup::onDeleteRemap @ 0x5eab84
// > SetupSpawnPopup::onSelectRemap @ 0x5eac46
//
// 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::queueUpdateButtons(unsigned __int8 *this)
{
int v1; // r5
int v2; // r4
int v3; // r0
int v4; // r0
v1 = (int)this;
v2 = *(this + 712);
if ( !*(this + 712) )
{
v3 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this);
v4 = (*(int (__fastcall **)(int))(*(_DWORD *)v3 + 64))(v3);
return (unsigned __int8 *)cocos2d::CCScheduler::scheduleSelector(
v4,
(int)SetupSpawnPopup::updateRemapButtons,
v2,
v1,
0.0,
-2,
0.0,
v2);
}
return this;
}