{"type": "func", "start": 5369056192, "end": 5369056292, "name": "CCTextInputNode::getTextRowCount", "pseudocode": "// \n// CCTextInputNode::getTextRowCount from 0x140054bc0 to 0x140054c24 (100 bytes)\n// \n// 3 xrefs:\n// > ThreadViewPopup::textChanged @ 0x1400e2f69\n// > ThreadViewPopup::textChanged @ 0x1400e2f81\n// > <???> @ 0x1409102f8\n// \n// This function is hookable on this platform (idp: pc, 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 11:25:40 +0000\n// \n\nunsigned int __fastcall CCTextInputNode::getTextRowCount(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v3; // rax\n  cocos2d::CCArray *v4; // rcx\n\n  v1 = *(_QWORD *)(a1 + 632);\n  if ( v1\n    && (v3 = *(_QWORD *)(v1 + 616)) != 0\n    && (v4 = *(cocos2d::CCArray **)(v3 + 648)) != nullptr\n    && (int)cocos2d::CCArray::count(v4) >= 1 )\n  {\n    return cocos2d::CCArray::count(*(cocos2d::CCArray **)(*(_QWORD *)(*(_QWORD *)(a1 + 632) + 616LL) + 648LL));\n  }\n  else\n  {\n    return 1;\n  }\n}", "assembly": "; \n; CCTextInputNode::getTextRowCount from 0x140054bc0 to 0x140054c24 (100 bytes)\n; \n; 3 xrefs:\n; > ThreadViewPopup::textChanged @ 0x1400e2f69\n; > ThreadViewPopup::textChanged @ 0x1400e2f81\n; > <???> @ 0x1409102f8\n; \n; This function is hookable on this platform (idp: pc, 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 11:25:40 +0000\n; \npush    rbx                                                            ; +0x0, 0x140054bc0\nsub     rsp, 20h                                                       ; +0x2, 0x140054bc2\nmov     rax, [rcx+278h]                                                ; +0x6, 0x140054bc6\nmov     rbx, rcx                                                       ; +0xd, 0x140054bcd\ntest    rax, rax                                                       ; +0x10, 0x140054bd0\njz      short loc_140054C19                                            ; +0x13, 0x140054bd3\nmov     rax, [rax+268h]                                                ; +0x15, 0x140054bd5\ntest    rax, rax                                                       ; +0x1c, 0x140054bdc\njz      short loc_140054C19                                            ; +0x1f, 0x140054bdf\nmov     rcx, [rax+288h]                                                ; +0x21, 0x140054be1\ntest    rcx, rcx                                                       ; +0x28, 0x140054be8\njz      short loc_140054C19                                            ; +0x2b, 0x140054beb\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2d, 0x140054bed\ncmp     eax, 1                                                         ; +0x33, 0x140054bf3\njl      short loc_140054C19                                            ; +0x36, 0x140054bf6\nmov     rax, [rbx+278h]                                                ; +0x38, 0x140054bf8\nmov     rcx, [rax+268h]                                                ; +0x3f, 0x140054bff\nmov     rcx, [rcx+288h]                                                ; +0x46, 0x140054c06\nadd     rsp, 20h                                                       ; +0x4d, 0x140054c0d\npop     rbx                                                            ; +0x51, 0x140054c11\njmp     cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x52, 0x140054c12\nmov     eax, 1                                                         ; +0x59, 0x140054c19\nadd     rsp, 20h                                                       ; +0x5e, 0x140054c1e\npop     rbx                                                            ; +0x62, 0x140054c22\nretn                                                                   ; +0x63, 0x140054c23", "xrefs": ["ThreadViewPopup::textChanged @ 0x1400e2f69", "ThreadViewPopup::textChanged @ 0x1400e2f81", "<???> @ 0x1409102f8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}