//
// KeybindingsLayer::onSettings from 0x589614 to 0x589668 (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:53:00 +0000
//
char **__fastcall KeybindingsLayer::onSettings(KeybindingsLayer *this, cocos2d::CCObject *a2, char *a3, char *a4)
{
int v5; // r6
char **result; // r0
char *v7[4]; // [sp+0h] [bp-10h] BYREF
v7[0] = (char *)this;
v7[1] = (char *)a2;
v7[2] = a3;
v7[3] = a4;
(*(void (__fastcall **)(char **, KeybindingsLayer *))(*(_DWORD *)this + 776))(v7, this);
v5 = KeybindingsSettingsPopup::create(this, v7);
result = std::__vector_base::~__vector_base(v7);
if ( v5 )
return (char **)(*(int (__fastcall **)(int))(*(_DWORD *)v5 + 656))(v5);
return result;
}