{"type": "func", "start": 6442838624, "end": 6442838720, "name": "cocos2d::CCProgressTimer::updateColor", "pseudocode": "// \n// cocos2d::CCProgressTimer::updateColor from 0x18005ea60 to 0x18005eac0 (96 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCProgressTimer::setColor @ 0x18005dfd5\n// > cocos2d::CCProgressTimer::setOpacity @ 0x18005e066\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b32e8\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 __fastcall cocos2d::CCProgressTimer::updateColor(cocos2d::CCProgressTimer *this)\n{\n  cocos2d::CCSprite *m_pSprite; // rax\n  unsigned __int64 v2; // r9\n  int v3; // eax\n  unsigned __int64 v4; // r9\n  __int64 v5; // rdx\n\n  m_pSprite = this->m_pSprite;\n  if ( m_pSprite )\n  {\n    if ( this->m_pVertexData )\n    {\n      v2 = *(_QWORD *)&m_pSprite->m_sQuad.tl.vertices.z;\n      v3 = 0;\n      v4 = HIDWORD(v2);\n      if ( this->m_nVertexDataCount > 0 )\n      {\n        v5 = 0;\n        do\n        {\n          ++v5;\n          ++v3;\n          this->m_pVertexData[v5 - 1].colors = (cocos2d::ccColor4B)v4;\n        }\n        while ( v3 < this->m_nVertexDataCount );\n      }\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCProgressTimer::updateColor from 0x18005ea60 to 0x18005eac0 (96 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCProgressTimer::setColor @ 0x18005dfd5\n; > cocos2d::CCProgressTimer::setOpacity @ 0x18005e066\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b32e8\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\nsub     rsp, 68h                                                       ; +0x0, 0x18005ea60\nmov     rax, [rcx+160h]                                                ; +0x4, 0x18005ea64\nmov     r8, rcx                                                        ; +0xb, 0x18005ea6b\ntest    rax, rax                                                       ; +0xe, 0x18005ea6e\njz      short loc_18005EABB                                            ; +0x11, 0x18005ea71\ncmp     qword ptr [rcx+170h], 0                                        ; +0x13, 0x18005ea73\njz      short loc_18005EABB                                            ; +0x1b, 0x18005ea7b\nmov     r9, [rax+1D4h]                                                 ; +0x1d, 0x18005ea7d\nxor     eax, eax                                                       ; +0x24, 0x18005ea84\nshr     r9, 20h                                                        ; +0x26, 0x18005ea86\ncmp     [rcx+168h], eax                                                ; +0x2a, 0x18005ea8a\njle     short loc_18005EABB                                            ; +0x30, 0x18005ea90\nmov     edx, eax                                                       ; +0x32, 0x18005ea92\nnop     dword ptr [rax+00h]                                            ; +0x34, 0x18005ea94\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x38, 0x18005ea98\nmov     rcx, [r8+170h]                                                 ; +0x40, 0x18005eaa0\nlea     rdx, [rdx+14h]                                                 ; +0x47, 0x18005eaa7\ninc     eax                                                            ; +0x4b, 0x18005eaab\nmov     [rcx+rdx-0Ch], r9d                                             ; +0x4d, 0x18005eaad\ncmp     eax, [r8+168h]                                                 ; +0x52, 0x18005eab2\njl      short loc_18005EAA0                                            ; +0x59, 0x18005eab9\nadd     rsp, 68h                                                       ; +0x5b, 0x18005eabb\nretn                                                                   ; +0x5f, 0x18005eabf", "xrefs": ["cocos2d::CCProgressTimer::setColor @ 0x18005dfd5", "cocos2d::CCProgressTimer::setOpacity @ 0x18005e066", "<???> @ 0x1801438a8", "<???> @ 0x1801b32e8"], "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"}