{"type": "func", "start": 7045160, "end": 7045256, "name": "CCTextInputNode::getTextRowCount", "pseudocode": "// \n// CCTextInputNode::getTextRowCount from 0x6b8028 to 0x6b8088 (96 bytes)\n// \n// 3 xrefs:\n// > ThreadViewPopup::textChanged @ 0xc6696c\n// > ThreadViewPopup::textChanged @ 0xc669a0\n// > <???> @ 0xafd08\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:50:53 +0000\n// \n\n__int64 __fastcall CCTextInputNode::getTextRowCount(CCTextInputNode *this)\n{\n  __int64 v1; // x1\n  __int64 v2; // x1\n  cocos2d::CCArray *v3; // x1\n\n  v1 = *((_QWORD *)this + 77);\n  if ( v1\n    && (v2 = *(_QWORD *)(v1 + 608)) != 0\n    && (v3 = *(cocos2d::CCArray **)(v2 + 648)) != nullptr\n    && (int)cocos2d::CCArray::count(v3) > 1 )\n  {\n    return cocos2d::CCArray::count(*(cocos2d::CCArray **)(*(_QWORD *)(*((_QWORD *)this + 77) + 608LL) + 648LL));\n  }\n  else\n  {\n    return 1;\n  }\n}", "assembly": "; \n; CCTextInputNode::getTextRowCount from 0x6b8028 to 0x6b8088 (96 bytes)\n; \n; 3 xrefs:\n; > ThreadViewPopup::textChanged @ 0xc6696c\n; > ThreadViewPopup::textChanged @ 0xc669a0\n; > <???> @ 0xafd08\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:50:53 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x6b8028\nMOV             X29, SP                                                ; +0x4, 0x6b802c\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x6b8030\nLDR             X1, [X0,#0x268]                                        ; +0xc, 0x6b8034\nCBZ             X1, loc_6B8078                                         ; +0x10, 0x6b8038\nLDR             X1, [X1,#0x260]                                        ; +0x14, 0x6b803c\nCBZ             X1, loc_6B8078                                         ; +0x18, 0x6b8040\nLDR             X1, [X1,#0x288]                                        ; +0x1c, 0x6b8044\nCBZ             X1, loc_6B8078                                         ; +0x20, 0x6b8048\nMOV             X19, X0                                                ; +0x24, 0x6b804c\nMOV             X0, X1; this                                           ; +0x28, 0x6b8050\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x2c, 0x6b8054\nCMP             W0, #1                                                 ; +0x30, 0x6b8058\nB.LE            loc_6B8078                                             ; +0x34, 0x6b805c\nLDR             X0, [X19,#0x268]                                       ; +0x38, 0x6b8060\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x3c, 0x6b8064\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x40, 0x6b8068\nLDR             X0, [X0,#0x260]                                        ; +0x44, 0x6b806c\nLDR             X0, [X0,#0x288]; this                                  ; +0x48, 0x6b8070\nB               _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x4c, 0x6b8074\nMOV             W0, #1                                                 ; +0x50, 0x6b8078\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x54, 0x6b807c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x58, 0x6b8080\nRET                                                                    ; +0x5c, 0x6b8084", "xrefs": ["ThreadViewPopup::textChanged @ 0xc6696c", "ThreadViewPopup::textChanged @ 0xc669a0", "<???> @ 0xafd08"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}