{"type": "func", "start": 4301040368, "end": 4301040442, "name": "GameObject::updateMainColorOnly", "pseudocode": "// \n// GameObject::updateMainColorOnly from 0x1005caaf0 to 0x1005cab3a (74 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::updateMainColorOnly(GameObject *a1)\n{\n  int m_activeMainColorID; // esi\n  const cocos2d::ccColor3B *v2; // rax\n\n  m_activeMainColorID = a1->m_activeMainColorID;\n  if ( m_activeMainColorID || a1->m_colorGroupCount || a1->m_opacityGroupCount )\n  {\n    v2 = GameObject::colorForMode(a1, m_activeMainColorID, 1);\n    ((void (__fastcall *)(GameObject *, const cocos2d::ccColor3B *))a1->updateMainColor)(a1, v2);\n  }\n}", "assembly": "; \n; GameObject::updateMainColorOnly from 0x1005caaf0 to 0x1005cab3a (74 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\nmov     esi, [rdi+290h]                                                ; +0x0, 0x1005caaf0\ntest    esi, esi                                                       ; +0x6, 0x1005caaf6\njnz     short loc_1005CAB0E                                            ; +0x8, 0x1005caaf8\ncmp     word ptr [rdi+4A0h], 0                                         ; +0xa, 0x1005caafa\njnz     short loc_1005CAB0E                                            ; +0x12, 0x1005cab02\ncmp     word ptr [rdi+4B0h], 0                                         ; +0x14, 0x1005cab04\njz      short locret_1005CAB39                                         ; +0x1c, 0x1005cab0c\npush    rbp                                                            ; +0x1e, 0x1005cab0e\nmov     rbp, rsp                                                       ; +0x1f, 0x1005cab0f\npush    rbx                                                            ; +0x22, 0x1005cab12\npush    rax                                                            ; +0x23, 0x1005cab13\nmov     rbx, rdi                                                       ; +0x24, 0x1005cab14\nmov     edx, 1                                                         ; +0x27, 0x1005cab17\ncall    GameObject__colorForMode                                       ; +0x2c, 0x1005cab1c\nmov     rcx, [rbx]                                                     ; +0x31, 0x1005cab21\nmov     rcx, [rcx+620h]                                                ; +0x34, 0x1005cab24\nmov     rdi, rbx                                                       ; +0x3b, 0x1005cab2b\nmov     rsi, rax                                                       ; +0x3e, 0x1005cab2e\nadd     rsp, 8                                                         ; +0x41, 0x1005cab31\npop     rbx                                                            ; +0x45, 0x1005cab35\npop     rbp                                                            ; +0x46, 0x1005cab36\njmp     rcx                                                            ; +0x47, 0x1005cab37\nretn                                                                   ; +0x49, 0x1005cab39", "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"}