//
// CCTextInputNode::getTextRowCount from 0x6b8028 to 0x6b8088 (96 bytes)
//
// 3 xrefs:
// > ThreadViewPopup::textChanged @ 0xc6696c
// > ThreadViewPopup::textChanged @ 0xc669a0
// > ??> @ 0xafd08
//
// 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 12:50:53 +0000
//
__int64 __fastcall CCTextInputNode::getTextRowCount(CCTextInputNode *this)
{
__int64 v1; // x1
__int64 v2; // x1
cocos2d::CCArray *v3; // x1
v1 = *((_QWORD *)this + 77);
if ( v1
&& (v2 = *(_QWORD *)(v1 + 608)) != 0
&& (v3 = *(cocos2d::CCArray **)(v2 + 648)) != nullptr
&& (int)cocos2d::CCArray::count(v3) > 1 )
{
return cocos2d::CCArray::count(*(cocos2d::CCArray **)(*(_QWORD *)(*((_QWORD *)this + 77) + 608LL) + 648LL));
}
else
{
return 1;
}
}