//
// LevelListLayer::textInputOpened from 0x6d72a4 to 0x6d7346 (162 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'LevelListLayer::textInputOpened @ 0x6d7358
//
// 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:57:07 +0000
//
int __fastcall LevelListLayer::textInputOpened(LevelListLayer *this, CCTextInputNode *a2)
{
_BOOL4 v3; // r8
unsigned __int8 v5[12]; // [sp+0h] [bp-28h] BYREF
int v6[3]; // [sp+Ch] [bp-1Ch] BYREF
int v7[3]; // [sp+18h] [bp-10h] BYREF
CCTextInputNode::getString((CCTextInputNode *)v5, (int)a2);
if ( (*(int (__fastcall **)(CCTextInputNode *))(*(_DWORD *)a2 + 32))(a2) == 1002 )
{
memset(v6, 0, sizeof(v6));
std::string::__init(v6, &unk_B6B226, 0);
v3 = sub_6D4936(v5, (unsigned __int8 *)v6);
std::string::~string((int)v6);
if ( v3 )
{
memset(v7, 0, sizeof(v7));
std::string::__init(v7, " ", 1u);
CCTextInputNode::updateLabel((float *)a2, (int)v7);
std::string::~string((int)v7);
}
}
return std::string::~string((int)v5);
}