//
// PlatformerControlsPopup::updateEditLabel from 0x79c88c to 0x79c8b6 (42 bytes)
//
// 3 xrefs:
// > PlatformerControlsPopup::syncSourceUI @ 0x79cc50
// > PlatformerControlsPopup::onToggleSource @ 0x79cc78
// > PlatformerControlsPopup::init @ 0x79d374
//
// 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:59:50 +0000
//
PlatformerControlsPopup *__fastcall PlatformerControlsPopup::updateEditLabel(PlatformerControlsPopup *this)
{
int v1; // r4
int (__fastcall *v2)(int, const char *); // r5
const char *v3; // r1
v1 = *((_DWORD *)this + 190);
if ( v1 )
{
v2 = *(int (__fastcall **)(int, const char *))(*(_DWORD *)v1 + 464);
if ( PlatformerControlsPopup::sourceIsCustom(this) )
v3 = "Edit Custom Controls";
else
v3 = "Edit Global Controls";
return (PlatformerControlsPopup *)v2(v1, v3);
}
return this;
}