{"type": "func", "start": 5369198128, "end": 5369198294, "name": "TextArea::colorAllCharactersTo", "pseudocode": "// \n// TextArea::colorAllCharactersTo from 0x140077630 to 0x1400776d6 (166 bytes)\n// \n// 14 xrefs:\n// > AccountLayer::updatePage @ 0x14007e84b\n// > AccountLayer::backupAccountFinished @ 0x14007ec40\n// > AccountLayer::backupAccountFailed @ 0x14007efc7\n// > AccountLayer::syncAccountFinished @ 0x14007f0f7\n// > AccountLayer::syncAccountFailed @ 0x14007f374\n// > AccountHelpLayer::updatePage @ 0x14007fdb7\n// > CommentCell::loadFromComment @ 0x1400b7178\n// > CommentCell::loadFromComment @ 0x1400b72b8\n// > CommentCell::loadFromComment @ 0x1400b72fb\n// > GJWriteMessagePopup::updateText @ 0x14029ab56\n// > GJWriteMessagePopup::updateText @ 0x14029ac5d\n// > <???> @ 0x14066762c\n// > <???> @ 0x14066763c\n// > <???> @ 0x1406c654c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid TextArea::colorAllCharactersTo(TextArea *a1, cocos2d::ccColor3B *a2)\n{\n  cocos2d::ccArray *data; // r13\n  __int64 num; // r15\n  __int64 i; // rdi\n  cocos2d::CCObject *v6; // rcx\n  __int64 v7; // rbx\n  int *v8; // rsi\n  __int64 v9; // rbp\n  void (__fastcall ***v10)(_QWORD, cocos2d::ccColor3B *); // rcx\n\n  data = a1->m_label->getChildren(a1->m_label)->data;\n  num = (int)data->num;\n  if ( num > 0 )\n  {\n    for ( i = 0; i < num; ++i )\n    {\n      v6 = data->arr[i];\n      v7 = 0;\n      v8 = *(int **)(((__int64 (__fastcall *)(cocos2d::CCObject *))v6->__vftable[6].update)(v6) + 56);\n      v9 = *v8;\n      if ( v9 > 0 )\n      {\n        do\n        {\n          v10 = (void (__fastcall ***)(_QWORD, cocos2d::ccColor3B *))(*(_QWORD *)(*((_QWORD *)v8 + 2) + 8 * v7) + 320LL);\n          (**v10)(v10, a2);\n          ++v7;\n        }\n        while ( v7 < v9 );\n      }\n    }\n  }\n}", "assembly": "; \n; TextArea::colorAllCharactersTo from 0x140077630 to 0x1400776d6 (166 bytes)\n; \n; 14 xrefs:\n; > AccountLayer::updatePage @ 0x14007e84b\n; > AccountLayer::backupAccountFinished @ 0x14007ec40\n; > AccountLayer::backupAccountFailed @ 0x14007efc7\n; > AccountLayer::syncAccountFinished @ 0x14007f0f7\n; > AccountLayer::syncAccountFailed @ 0x14007f374\n; > AccountHelpLayer::updatePage @ 0x14007fdb7\n; > CommentCell::loadFromComment @ 0x1400b7178\n; > CommentCell::loadFromComment @ 0x1400b72b8\n; > CommentCell::loadFromComment @ 0x1400b72fb\n; > GJWriteMessagePopup::updateText @ 0x14029ab56\n; > GJWriteMessagePopup::updateText @ 0x14029ac5d\n; > <???> @ 0x14066762c\n; > <???> @ 0x14066763c\n; > <???> @ 0x1406c654c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    r13                                                            ; +0x0, 0x140077630\npush    r14                                                            ; +0x2, 0x140077632\npush    r15                                                            ; +0x4, 0x140077634\nsub     rsp, 20h                                                       ; +0x6, 0x140077636\nmov     rcx, [rcx+260h]                                                ; +0xa, 0x14007763a\nmov     r14, rdx                                                       ; +0x11, 0x140077641\nmov     rax, [rcx]                                                     ; +0x14, 0x140077644\ncall    qword ptr [rax+1D0h]                                           ; +0x17, 0x140077647\nmov     r13, [rax+38h]                                                 ; +0x1d, 0x14007764d\nmovsxd  r15, dword ptr [r13+0]                                         ; +0x21, 0x140077651\ntest    r15, r15                                                       ; +0x25, 0x140077655\njle     short loc_1400776CB                                            ; +0x28, 0x140077658\nmov     [rsp+38h+arg_0], rbx                                           ; +0x2a, 0x14007765a\nmov     [rsp+38h+arg_8], rbp                                           ; +0x2f, 0x14007765f\nmov     [rsp+38h+arg_10], rsi                                          ; +0x34, 0x140077664\nmov     [rsp+38h+arg_18], rdi                                          ; +0x39, 0x140077669\nxor     edi, edi                                                       ; +0x3e, 0x14007766e\nmov     rax, [r13+10h]                                                 ; +0x40, 0x140077670\nmov     rcx, [rax+rdi*8]                                               ; +0x44, 0x140077674\nmov     rax, [rcx]                                                     ; +0x48, 0x140077678\ncall    qword ptr [rax+1D0h]                                           ; +0x4b, 0x14007767b\nxor     ebx, ebx                                                       ; +0x51, 0x140077681\nmov     rsi, [rax+38h]                                                 ; +0x53, 0x140077683\nmovsxd  rbp, dword ptr [rsi]                                           ; +0x57, 0x140077687\ntest    rbp, rbp                                                       ; +0x5a, 0x14007768a\njle     short loc_1400776AF                                            ; +0x5d, 0x14007768d\nnop                                                                    ; +0x5f, 0x14007768f\nmov     rax, [rsi+10h]                                                 ; +0x60, 0x140077690\nmov     rdx, r14                                                       ; +0x64, 0x140077694\nmov     rcx, [rax+rbx*8]                                               ; +0x67, 0x140077697\nadd     rcx, 140h                                                      ; +0x6b, 0x14007769b\nmov     rax, [rcx]                                                     ; +0x72, 0x1400776a2\ncall    qword ptr [rax]                                                ; +0x75, 0x1400776a5\ninc     rbx                                                            ; +0x77, 0x1400776a7\ncmp     rbx, rbp                                                       ; +0x7a, 0x1400776aa\njl      short loc_140077690                                            ; +0x7d, 0x1400776ad\ninc     rdi                                                            ; +0x7f, 0x1400776af\ncmp     rdi, r15                                                       ; +0x82, 0x1400776b2\njl      short loc_140077670                                            ; +0x85, 0x1400776b5\nmov     rdi, [rsp+38h+arg_18]                                          ; +0x87, 0x1400776b7\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x8c, 0x1400776bc\nmov     rbp, [rsp+38h+arg_8]                                           ; +0x91, 0x1400776c1\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x96, 0x1400776c6\nadd     rsp, 20h                                                       ; +0x9b, 0x1400776cb\npop     r15                                                            ; +0x9f, 0x1400776cf\npop     r14                                                            ; +0xa1, 0x1400776d1\npop     r13                                                            ; +0xa3, 0x1400776d3\nretn                                                                   ; +0xa5, 0x1400776d5", "xrefs": ["AccountLayer::updatePage @ 0x14007e84b", "AccountLayer::backupAccountFinished @ 0x14007ec40", "AccountLayer::backupAccountFailed @ 0x14007efc7", "AccountLayer::syncAccountFinished @ 0x14007f0f7", "AccountLayer::syncAccountFailed @ 0x14007f374", "AccountHelpLayer::updatePage @ 0x14007fdb7", "CommentCell::loadFromComment @ 0x1400b7178", "CommentCell::loadFromComment @ 0x1400b72b8", "CommentCell::loadFromComment @ 0x1400b72fb", "GJWriteMessagePopup::updateText @ 0x14029ab56", "GJWriteMessagePopup::updateText @ 0x14029ac5d", "<???> @ 0x14066762c", "<???> @ 0x14066763c", "<???> @ 0x1406c654c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}