//
// PlatformerControlsPopup::updateEditLabel from 0xcfa63c to 0xcfa68c (80 bytes)
//
// 4 xrefs:
// > PlatformerControlsPopup::syncSourceUI @ 0xcfac34
// > PlatformerControlsPopup::onToggleSource @ 0xcfac74
// > PlatformerControlsPopup::init @ 0xcfb070
// > ??> @ 0x49288
//
// 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 13:06:50 +0000
//
PlatformerControlsPopup *__fastcall PlatformerControlsPopup::updateEditLabel(PlatformerControlsPopup *this)
{
__int64 v1; // x19
__int64 (__fastcall *v2)(__int64, const char *); // x20
const char *v3; // x1
v1 = *((_QWORD *)this + 139);
if ( v1 )
{
v2 = *(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v1 + 928LL);
if ( PlatformerControlsPopup::sourceIsCustom(this) )
v3 = "Edit Custom Controls";
else
v3 = "Edit Global Controls";
return (PlatformerControlsPopup *)v2(v1, v3);
}
return this;
}