{"type": "func", "start": 4049024, "end": 4049078, "name": "CCTextInputNode::getTextRowCount", "pseudocode": "// \n// CCTextInputNode::getTextRowCount from 0x3dc880 to 0x3dc8b6 (54 bytes)\n// \n// 2 xrefs:\n// > ThreadViewPopup::textChanged @ 0x748954\n// > ThreadViewPopup::textChanged @ 0x748960\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:46:48 +0000\n// \n\nint __fastcall CCTextInputNode::getTextRowCount(CCTextInputNode *this)\n{\n  int v2; // r3\n  int v3; // r3\n  cocos2d::CCArray *v4; // r0\n\n  v2 = *((_DWORD *)this + 109);\n  if ( v2\n    && (v3 = *(_DWORD *)(v2 + 520)) != 0\n    && (v4 = *(cocos2d::CCArray **)(v3 + 536)) != nullptr\n    && (int)cocos2d::CCArray::count(v4) > 1 )\n  {\n    return cocos2d::CCArray::count(*(cocos2d::CCArray **)(*(_DWORD *)(*((_DWORD *)this + 109) + 520) + 536));\n  }\n  else\n  {\n    return 1;\n  }\n}", "assembly": "; \n; CCTextInputNode::getTextRowCount from 0x3dc880 to 0x3dc8b6 (54 bytes)\n; \n; 2 xrefs:\n; > ThreadViewPopup::textChanged @ 0x748954\n; > ThreadViewPopup::textChanged @ 0x748960\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:46:48 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x3dc880\nMOV             R4, R0                                                 ; +0x2, 0x3dc882\nLDR.W           R3, [R0,#0x1B4]                                        ; +0x4, 0x3dc884\nCBZ             R3, loc_3DC8B2                                         ; +0x8, 0x3dc888\nLDR.W           R3, [R3,#0x208]                                        ; +0xa, 0x3dc88a\nCBZ             R3, loc_3DC8B2                                         ; +0xe, 0x3dc88e\nLDR.W           R0, [R3,#0x218]; this                                  ; +0x10, 0x3dc890\nCBZ             R0, loc_3DC8B2                                         ; +0x14, 0x3dc894\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x16, 0x3dc896\nCMP             R0, #1                                                 ; +0x1a, 0x3dc89a\nBLE             loc_3DC8B2                                             ; +0x1c, 0x3dc89c\nLDR.W           R3, [R4,#0x1B4]                                        ; +0x1e, 0x3dc89e\nPOP.W           {R4,LR}                                                ; +0x22, 0x3dc8a2\nLDR.W           R3, [R3,#0x208]                                        ; +0x26, 0x3dc8a6\nLDR.W           R0, [R3,#0x218]; this                                  ; +0x2a, 0x3dc8aa\nB.W             _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x2e, 0x3dc8ae\nMOVS            R0, #1                                                 ; +0x32, 0x3dc8b2\nPOP             {R4,PC}                                                ; +0x34, 0x3dc8b4", "xrefs": ["ThreadViewPopup::textChanged @ 0x748954", "ThreadViewPopup::textChanged @ 0x748960"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}