{"type": "func", "start": 6442847312, "end": 6442847408, "name": "cocos2d::CCProgressTimer::updateColor", "pseudocode": "// \n// cocos2d::CCProgressTimer::updateColor from 0x180060c50 to 0x180060cb0 (96 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCProgressTimer::setColor @ 0x1800601c5\n// > cocos2d::CCProgressTimer::setOpacity @ 0x180060256\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd5ac\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:21:50 +0000\n// \n\nvoid __fastcall cocos2d::CCProgressTimer::updateColor(cocos2d::CCProgressTimer *this)\n{\n  __int64 v1; // rax\n  unsigned __int64 v2; // r9\n  int v3; // eax\n  unsigned __int64 v4; // r9\n  __int64 v5; // rdx\n\n  v1 = *((_QWORD *)this + 44);\n  if ( v1 )\n  {\n    if ( *((_QWORD *)this + 46) )\n    {\n      v2 = *(_QWORD *)(v1 + 468);\n      v3 = 0;\n      v4 = HIDWORD(v2);\n      if ( *((int *)this + 90) > 0 )\n      {\n        v5 = 0;\n        do\n        {\n          v5 += 20;\n          ++v3;\n          *(_DWORD *)(*((_QWORD *)this + 46) + v5 - 12) = v4;\n        }\n        while ( v3 < *((_DWORD *)this + 90) );\n      }\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCProgressTimer::updateColor from 0x180060c50 to 0x180060cb0 (96 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCProgressTimer::setColor @ 0x1800601c5\n; > cocos2d::CCProgressTimer::setOpacity @ 0x180060256\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd5ac\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:21:50 +0000\n; \nsub     rsp, 68h                                                       ; +0x0, 0x180060c50\nmov     rax, [rcx+160h]                                                ; +0x4, 0x180060c54\nmov     r8, rcx                                                        ; +0xb, 0x180060c5b\ntest    rax, rax                                                       ; +0xe, 0x180060c5e\njz      short loc_180060CAB                                            ; +0x11, 0x180060c61\ncmp     qword ptr [rcx+170h], 0                                        ; +0x13, 0x180060c63\njz      short loc_180060CAB                                            ; +0x1b, 0x180060c6b\nmov     r9, [rax+1D4h]                                                 ; +0x1d, 0x180060c6d\nxor     eax, eax                                                       ; +0x24, 0x180060c74\nshr     r9, 20h                                                        ; +0x26, 0x180060c76\ncmp     [rcx+168h], eax                                                ; +0x2a, 0x180060c7a\njle     short loc_180060CAB                                            ; +0x30, 0x180060c80\nmov     edx, eax                                                       ; +0x32, 0x180060c82\nnop     dword ptr [rax+00h]                                            ; +0x34, 0x180060c84\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x38, 0x180060c88\nmov     rcx, [r8+170h]                                                 ; +0x40, 0x180060c90\nlea     rdx, [rdx+14h]                                                 ; +0x47, 0x180060c97\ninc     eax                                                            ; +0x4b, 0x180060c9b\nmov     [rcx+rdx-0Ch], r9d                                             ; +0x4d, 0x180060c9d\ncmp     eax, [r8+168h]                                                 ; +0x52, 0x180060ca2\njl      short loc_180060C90                                            ; +0x59, 0x180060ca9\nadd     rsp, 68h                                                       ; +0x5b, 0x180060cab\nretn                                                                   ; +0x5f, 0x180060caf", "xrefs": ["cocos2d::CCProgressTimer::setColor @ 0x1800601c5", "cocos2d::CCProgressTimer::setOpacity @ 0x180060256", "<???> @ 0x18014cf68", "<???> @ 0x1801bd5ac"], "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"}