{"type": "func", "start": 5368990800, "end": 5368990901, "name": "CCAnimatedSprite::setColor", "pseudocode": "// \n// CCAnimatedSprite::setColor from 0x140044c50 to 0x140044cb5 (101 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x140707058\n// > <???> @ 0x14077f678\n// > <???> @ 0x14077f718\n// > <???> @ 0x140780530\n// > <???> @ 0x14090f7ac\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:30 +0000\n// \n\nvoid __fastcall CCAnimatedSprite::setColor(cocos2d::CCSprite *a1, __int16 *a2)\n{\n  __int64 v4; // rcx\n  __int64 v5; // rcx\n  __int16 v6; // [rsp+30h] [rbp+8h] BYREF\n  char v7; // [rsp+32h] [rbp+Ah]\n\n  v4 = *((_QWORD *)a1 + 45);\n  if ( v4 )\n    (**(void (__fastcall ***)(__int64))(v4 + 320))(v4 + 320);\n  v5 = *((_QWORD *)a1 + 46);\n  if ( v5 )\n  {\n    v6 = *a2;\n    v7 = *((_BYTE *)a2 + 2);\n    CCPartAnimSprite::setColor(v5, &v6);\n  }\n  cocos2d::CCSprite::setColor(a1, (const struct cocos2d::_ccColor3B *)a2);\n}", "assembly": "; \n; CCAnimatedSprite::setColor from 0x140044c50 to 0x140044cb5 (101 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x140707058\n; > <???> @ 0x14077f678\n; > <???> @ 0x14077f718\n; > <???> @ 0x140780530\n; > <???> @ 0x14090f7ac\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:30 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140044c50\npush    rdi                                                            ; +0x5, 0x140044c55\nsub     rsp, 20h                                                       ; +0x6, 0x140044c56\nmov     rbx, rcx                                                       ; +0xa, 0x140044c5a\nmov     rdi, rdx                                                       ; +0xd, 0x140044c5d\nmov     rcx, [rcx+168h]                                                ; +0x10, 0x140044c60\ntest    rcx, rcx                                                       ; +0x17, 0x140044c67\njz      short loc_140044C78                                            ; +0x1a, 0x140044c6a\nadd     rcx, 140h                                                      ; +0x1c, 0x140044c6c\nmov     rax, [rcx]                                                     ; +0x23, 0x140044c73\ncall    qword ptr [rax]                                                ; +0x26, 0x140044c76\nmov     rcx, [rbx+170h]                                                ; +0x28, 0x140044c78\ntest    rcx, rcx                                                       ; +0x2f, 0x140044c7f\njz      short loc_140044C9E                                            ; +0x32, 0x140044c82\nmovzx   eax, word ptr [rdi]                                            ; +0x34, 0x140044c84\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x37, 0x140044c87\nmov     [rsp+28h+arg_0], ax                                            ; +0x3c, 0x140044c8c\nmovzx   eax, byte ptr [rdi+2]                                          ; +0x41, 0x140044c91\nmov     [rsp+28h+arg_2], al                                            ; +0x45, 0x140044c95\ncall    CCPartAnimSprite__setColor                                     ; +0x49, 0x140044c99\nmov     rdx, rdi                                                       ; +0x4e, 0x140044c9e\nmov     rcx, rbx                                                       ; +0x51, 0x140044ca1\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x54, 0x140044ca4\nadd     rsp, 20h                                                       ; +0x59, 0x140044ca9\npop     rdi                                                            ; +0x5d, 0x140044cad\njmp     cs:__imp_?setColor@CCSprite@cocos2d@@UEAAXAEBU_ccColor3B@2@@Z; cocos2d::CCSprite::setColor(cocos2d::_ccColor3B const &) ; +0x5e, 0x140044cae", "xrefs": ["<???> @ 0x140707058", "<???> @ 0x14077f678", "<???> @ 0x14077f718", "<???> @ 0x140780530", "<???> @ 0x14090f7ac"], "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"}