//
// SetupSpawnPopup::queueUpdateButtons from 0xa42b4c to 0xa42b9c (80 bytes)
//
// 4 xrefs:
// > SetupSpawnPopup::addRemap @ 0xa42c1c
// > SetupSpawnPopup::onDeleteRemap @ 0xa42d70
// > SetupSpawnPopup::onSelectRemap @ 0xa42e2c
// > ??> @ 0x55330
//
// 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::queueUpdateButtons(_BYTE *this)
{
__int64 v1; // x0
__int64 v2; // x0
_BYTE *v3; // [xsp+18h] [xbp+18h]
if ( !*(this + 1012) )
{
v3 = this;
v1 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this);
v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 128LL))(v1);
return (_BYTE *)cocos2d::CCScheduler::scheduleSelector(
v2,
SetupSpawnPopup::updateRemapButtons,
0,
v3,
4294967294LL,
0,
0.0,
0.0);
}
return this;
}