{"type": "func", "start": 4301041152, "end": 4301041223, "name": "GameObject::updateSecondaryColorOnly", "pseudocode": "// \n// GameObject::updateSecondaryColorOnly from 0x1005cae00 to 0x1005cae47 (71 bytes)\n// \n// 0 xrefs:\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 GameObject::updateSecondaryColorOnly(GameObject *a1)\n{\n  int m_activeDetailColorID; // esi\n  const cocos2d::ccColor3B *v2; // rax\n\n  if ( a1->m_colorSprite )\n  {\n    m_activeDetailColorID = a1->m_activeDetailColorID;\n    if ( m_activeDetailColorID || a1->m_groupCount )\n    {\n      v2 = GameObject::colorForMode(a1, m_activeDetailColorID, 0);\n      ((void (__fastcall *)(GameObject *, const cocos2d::ccColor3B *))a1->updateSecondaryColor)(a1, v2);\n    }\n  }\n}", "assembly": "; \n; GameObject::updateSecondaryColorOnly from 0x1005cae00 to 0x1005cae47 (71 bytes)\n; \n; 0 xrefs:\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\ncmp     qword ptr [rdi+378h], 0                                        ; +0x0, 0x1005cae00\njz      short locret_1005CAE46                                         ; +0x8, 0x1005cae08\nmov     esi, [rdi+294h]                                                ; +0xa, 0x1005cae0a\ntest    esi, esi                                                       ; +0x10, 0x1005cae10\njnz     short loc_1005CAE1E                                            ; +0x12, 0x1005cae12\ncmp     word ptr [rdi+490h], 0                                         ; +0x14, 0x1005cae14\njz      short locret_1005CAE46                                         ; +0x1c, 0x1005cae1c\npush    rbp                                                            ; +0x1e, 0x1005cae1e\nmov     rbp, rsp                                                       ; +0x1f, 0x1005cae1f\npush    rbx                                                            ; +0x22, 0x1005cae22\npush    rax                                                            ; +0x23, 0x1005cae23\nmov     rbx, rdi                                                       ; +0x24, 0x1005cae24\nxor     edx, edx                                                       ; +0x27, 0x1005cae27\ncall    GameObject__colorForMode                                       ; +0x29, 0x1005cae29\nmov     rcx, [rbx]                                                     ; +0x2e, 0x1005cae2e\nmov     rcx, [rcx+628h]                                                ; +0x31, 0x1005cae31\nmov     rdi, rbx                                                       ; +0x38, 0x1005cae38\nmov     rsi, rax                                                       ; +0x3b, 0x1005cae3b\nadd     rsp, 8                                                         ; +0x3e, 0x1005cae3e\npop     rbx                                                            ; +0x42, 0x1005cae42\npop     rbp                                                            ; +0x43, 0x1005cae43\njmp     rcx                                                            ; +0x44, 0x1005cae44\nretn                                                                   ; +0x46, 0x1005cae46", "xrefs": [], "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"}