//
// sub_2F9B8C from 0x2f9b8c to 0x2f9f76 (1002 bytes)
//
// 2 xrefs:
// > CCTextInputNode::onTextFieldDetachWithIME @ 0x2fac3e
// > CCTextInputNode::onTextFieldDetachWithIME @ 0x2fac7a
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int sub_2F9B8C()
{
const std::string *v0; // r1
cocos2d::CCArray *v1; // r11
const std::string *v2; // r1
cocos2d::CCObject *v3; // r10
const std::string *v4; // r1
int v5; // r9
const std::string *v6; // r1
int v7; // r8
const std::string *v8; // r1
const std::string *v9; // r1
const std::string *v10; // r1
const std::string *v11; // r1
const std::string *v12; // r1
const std::string *v13; // r1
const std::string *v14; // r1
const std::string *v15; // r1
const std::string *v16; // r1
const std::string *v17; // r1
const std::string *v18; // r1
const std::string *v19; // r1
const std::string *v20; // r1
const std::string *v21; // r1
const std::string *v22; // r1
const std::string *v23; // r1
const std::string *v24; // r1
const std::string *v25; // r1
const std::string *v26; // r1
const std::string *v27; // r1
int v28; // r0
int v29; // r8
int v31; // [sp+5Ch] [bp-118h]
int v32; // [sp+60h] [bp-114h]
int v33; // [sp+64h] [bp-110h]
int v34; // [sp+68h] [bp-10Ch]
int v35; // [sp+6Ch] [bp-108h]
int v36; // [sp+70h] [bp-104h]
int v37; // [sp+74h] [bp-100h]
int v38; // [sp+78h] [bp-FCh]
int v39; // [sp+7Ch] [bp-F8h]
int v40; // [sp+80h] [bp-F4h]
int v41; // [sp+84h] [bp-F0h]
int v42; // [sp+88h] [bp-ECh]
int v43; // [sp+8Ch] [bp-E8h]
int v44; // [sp+90h] [bp-E4h]
int v45; // [sp+94h] [bp-E0h]
int v46; // [sp+98h] [bp-DCh]
int v47; // [sp+9Ch] [bp-D8h]
int v48; // [sp+A0h] [bp-D4h]
int v49; // [sp+A4h] [bp-D0h]
cocos2d::CCString v50; // [sp+10Ch] [bp-68h] BYREF
char v51; // [sp+144h] [bp-30h] BYREF
char v52; // [sp+148h] [bp-2Ch] BYREF
char v53; // [sp+14Ch] [bp-28h] BYREF
char v54; // [sp+150h] [bp-24h] BYREF
char v55; // [sp+154h] [bp-20h] BYREF
char v56; // [sp+158h] [bp-1Ch] BYREF
char v57; // [sp+15Ch] [bp-18h] BYREF
int v58; // [sp+160h] [bp-14h] BYREF
char v59; // [sp+164h] [bp-10h] BYREF
char v60; // [sp+168h] [bp-Ch] BYREF
sub_776584((int)&v50, "13");
v1 = (cocos2d::CCArray *)cocos2d::CCString::create(&v50, v0);
sub_776584((int)&v50.m_uID, "b");
v3 = (cocos2d::CCObject *)cocos2d::CCString::create((cocos2d::CCString *)&v50.m_uID, v2);
sub_776584((int)&v50.m_nLuaID, "i3");
v5 = cocos2d::CCString::create((cocos2d::CCString *)&v50.m_nLuaID, v4);
sub_776584((int)&v50.m_nTag, "b");
v7 = cocos2d::CCString::create((cocos2d::CCString *)&v50.m_nTag, v6);
sub_776584((int)&v50.m_uReference, "l3");
v31 = cocos2d::CCString::create((cocos2d::CCString *)&v50.m_uReference, v8);
sub_776584((int)&v50.m_uAutoReleaseCount, "b");
v32 = cocos2d::CCString::create((cocos2d::CCString *)&v50.m_uAutoReleaseCount, v9);
sub_776584((int)&v50.m_eObjType, "0");
v33 = cocos2d::CCString::create((cocos2d::CCString *)&v50.m_eObjType, v10);
sub_776584((int)&v50.m_uIndexInArray, (char *)aO1i2r3e45s7t89);
v34 = cocos2d::CCString::create((cocos2d::CCString *)&v50.m_uIndexInArray, v11);
sub_776584((int)&v50.m_uUnknown, (char *)&aO1i2r3e45s7t89[1]);
v35 = cocos2d::CCString::create((cocos2d::CCString *)&v50.m_uUnknown, v12);
sub_776584((int)&v50.m_unknown2, (char *)&aO1i2r3e45s7t89[2]);
v36 = cocos2d::CCString::create((cocos2d::CCString *)&v50.m_unknown2, v13);
sub_776584((int)&v50.m_nZOrder, (char *)&aO1i2r3e45s7t89[3]);
v37 = cocos2d::CCString::create((cocos2d::CCString *)&v50.m_nZOrder, v14);
sub_776584((int)&v50.m_uOrderOfArrival, (char *)&aO1i2r3e45s7t89[4]);
v38 = cocos2d::CCString::create((cocos2d::CCString *)&v50.m_uOrderOfArrival, v15);
sub_776584((int)&v50.m_unknown5, (char *)&aO1i2r3e45s7t89[5]);
v39 = cocos2d::CCString::create((cocos2d::CCString *)&v50.m_unknown5, v16);
sub_776584((int)&v50.m_sString, (char *)&aO1i2r3e45s7t89[6]);
v40 = cocos2d::CCString::create((cocos2d::CCString *)&v50.m_sString, v17);
sub_776584((int)&v51, (char *)&aO1i2r3e45s7t89[7]);
v41 = cocos2d::CCString::create((cocos2d::CCString *)&v51, v18);
sub_776584((int)&v52, "a");
v42 = cocos2d::CCString::create((cocos2d::CCString *)&v52, v19);
sub_776584((int)&v53, (char *)&aO1i2r3e45s7t89[8]);
v43 = cocos2d::CCString::create((cocos2d::CCString *)&v53, v20);
sub_776584((int)&v54, (char *)&aO1i2r3e45s7t89[9]);
v44 = cocos2d::CCString::create((cocos2d::CCString *)&v54, v21);
sub_776584((int)&v55, (char *)&aO1i2r3e45s7t89[10]);
v45 = cocos2d::CCString::create((cocos2d::CCString *)&v55, v22);
sub_776584((int)&v56, (char *)&aO1i2r3e45s7t89[11]);
v46 = cocos2d::CCString::create((cocos2d::CCString *)&v56, v23);
sub_776584((int)&v57, (char *)&aO1i2r3e45s7t89[12]);
v47 = cocos2d::CCString::create((cocos2d::CCString *)&v57, v24);
sub_776584((int)&v58, "b");
v48 = cocos2d::CCString::create((cocos2d::CCString *)&v58, v25);
sub_776584((int)&v59, (char *)&aO1i2r3e45s7t89[13]);
v49 = cocos2d::CCString::create((cocos2d::CCString *)&v59, v26);
sub_776584((int)&v60, (char *)&aO1i2r3e45s7t89[14]);
v28 = cocos2d::CCString::create((cocos2d::CCString *)&v60, v27);
v29 = cocos2d::CCArray::create(
v1,
v3,
v5,
v7,
v31,
v32,
v33,
v34,
v35,
v36,
v37,
v38,
v39,
v40,
v41,
v42,
v43,
v44,
v45,
v46,
v47,
v48,
v49,
v28,
0);
sub_774008(&v60);
sub_774008(&v59);
sub_774008(&v58);
sub_774008(&v57);
sub_774008(&v56);
sub_774008(&v55);
sub_774008(&v54);
sub_774008(&v53);
sub_774008(&v52);
sub_774008(&v51);
sub_774008(&v50.m_sString);
sub_774008(&v50.m_unknown5);
sub_774008(&v50.m_uOrderOfArrival);
sub_774008(&v50.m_nZOrder);
sub_774008(&v50.m_unknown2);
sub_774008(&v50.m_uUnknown);
sub_774008(&v50.m_uIndexInArray);
sub_774008(&v50.m_eObjType);
sub_774008(&v50.m_uAutoReleaseCount);
sub_774008(&v50.m_uReference);
sub_774008(&v50.m_nTag);
sub_774008(&v50.m_nLuaID);
sub_774008(&v50.m_uID);
sub_774008(&v50);
return v29;
}