{"type": "func", "start": 4298360704, "end": 4298360785, "name": "CCAnimatedSprite::setColor", "pseudocode": "// \n// CCAnimatedSprite::setColor from 0x10033c780 to 0x10033c7d1 (81 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x100b1c5c8\n// > <???> @ 0x100b1d180\n// > <???> @ 0x100b87b60\n// > <???> @ 0x100b88128\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 12:28:42 +0000\n// \n\n__int64 __fastcall CCAnimatedSprite::setColor(__int64 a1, unsigned __int16 *a2)\n{\n  __int64 v3; // rdi\n  __int64 v4; // rdi\n\n  v3 = *(_QWORD *)(a1 + 664);\n  if ( v3 )\n    (*(void (__fastcall **)(__int64, unsigned __int16 *))(*(_QWORD *)v3 + 960LL))(v3, a2);\n  v4 = *(_QWORD *)(a1 + 672);\n  if ( v4 )\n    CCPartAnimSprite::setColor(v4, *a2 | (*((unsigned __int8 *)a2 + 2) << 16));\n  return cocos2d::CCSprite::setColor(a1, (__int64)a2);\n}", "assembly": "; \n; CCAnimatedSprite::setColor from 0x10033c780 to 0x10033c7d1 (81 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x100b1c5c8\n; > <???> @ 0x100b1d180\n; > <???> @ 0x100b87b60\n; > <???> @ 0x100b88128\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 12:28:42 +0000\n; \npush    rbp                                                            ; +0x0, 0x10033c780\nmov     rbp, rsp                                                       ; +0x1, 0x10033c781\npush    r14                                                            ; +0x4, 0x10033c784\npush    rbx                                                            ; +0x6, 0x10033c786\nmov     rbx, rsi                                                       ; +0x7, 0x10033c787\nmov     r14, rdi                                                       ; +0xa, 0x10033c78a\nmov     rdi, [rdi+298h]                                                ; +0xd, 0x10033c78d\ntest    rdi, rdi                                                       ; +0x14, 0x10033c794\njz      short loc_10033C7A5                                            ; +0x17, 0x10033c797\nmov     rax, [rdi]                                                     ; +0x19, 0x10033c799\nmov     rsi, rbx                                                       ; +0x1c, 0x10033c79c\ncall    qword ptr [rax+3C0h]                                           ; +0x1f, 0x10033c79f\nmov     rdi, [r14+2A0h]                                                ; +0x25, 0x10033c7a5\ntest    rdi, rdi                                                       ; +0x2c, 0x10033c7ac\njz      short loc_10033C7C2                                            ; +0x2f, 0x10033c7af\nmovzx   eax, word ptr [rbx]                                            ; +0x31, 0x10033c7b1\nmovzx   esi, byte ptr [rbx+2]                                          ; +0x34, 0x10033c7b4\nshl     esi, 10h                                                       ; +0x38, 0x10033c7b8\nor      esi, eax                                                       ; +0x3b, 0x10033c7bb\ncall    CCPartAnimSprite__setColor                                     ; +0x3d, 0x10033c7bd\nmov     rdi, r14                                                       ; +0x42, 0x10033c7c2\nmov     rsi, rbx                                                       ; +0x45, 0x10033c7c5\npop     rbx                                                            ; +0x48, 0x10033c7c8\npop     r14                                                            ; +0x49, 0x10033c7c9\npop     rbp                                                            ; +0x4b, 0x10033c7cb\njmp     cocos2d__CCSprite__setColor                                    ; +0x4c, 0x10033c7cc", "xrefs": ["<???> @ 0x100b1c5c8", "<???> @ 0x100b1d180", "<???> @ 0x100b87b60", "<???> @ 0x100b88128"], "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"}