//
// CCTextInputNode::getTextRowCount from 0x3dc880 to 0x3dc8b6 (54 bytes)
//
// 2 xrefs:
// > ThreadViewPopup::textChanged @ 0x748954
// > ThreadViewPopup::textChanged @ 0x748960
//
// 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:46:48 +0000
//
int __fastcall CCTextInputNode::getTextRowCount(CCTextInputNode *this)
{
int v2; // r3
int v3; // r3
cocos2d::CCArray *v4; // r0
v2 = *((_DWORD *)this + 109);
if ( v2
&& (v3 = *(_DWORD *)(v2 + 520)) != 0
&& (v4 = *(cocos2d::CCArray **)(v3 + 536)) != nullptr
&& (int)cocos2d::CCArray::count(v4) > 1 )
{
return cocos2d::CCArray::count(*(cocos2d::CCArray **)(*(_DWORD *)(*((_DWORD *)this + 109) + 520) + 536));
}
else
{
return 1;
}
}