{"type": "func", "start": 4298110532, "end": 4298110640, "name": "GameObject::updateSecondaryColor", "pseudocode": "// \n// GameObject::updateSecondaryColor from 0x1002ff644 to 0x1002ff6b0 (108 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::updateVisibility @ 0x1001458d4\n// \n// This function is hookable on this platform (idp: arm, 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:03:04 +0000\n// \n\nvoid __fastcall GameObject::updateSecondaryColor(__int64 a1, __n128 a2, double a3, double a4, float a5)\n{\n  __int64 v6; // x1\n  _BYTE *v7; // x0\n\n  if ( *(_QWORD *)(a1 + 888) )\n  {\n    v6 = *(unsigned int *)(a1 + 660);\n    if ( (_DWORD)v6 || *(_WORD *)(a1 + 1168) )\n    {\n      v7 = GameObject::colorForMode(a1, v6, 0, a2, a3, a4, a5);\n      (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)a1 + 1592LL))(a1, v7);\n      *(float *)(*(_QWORD *)(a1 + 1104) + 8LL) = GameObject::opacityModForMode(a1, *(_DWORD *)(a1 + 660), 0);\n    }\n  }\n}", "assembly": "; \n; GameObject::updateSecondaryColor from 0x1002ff644 to 0x1002ff6b0 (108 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::updateVisibility @ 0x1001458d4\n; \n; This function is hookable on this platform (idp: arm, 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:03:04 +0000\n; \nLDR             X8, [X0,#0x378]                                        ; +0x0, 0x1002ff644\nCBZ             X8, locret_1002FF6AC                                   ; +0x4, 0x1002ff648\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x8, 0x1002ff64c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc, 0x1002ff650\nADD             X29, SP, #0x10                                         ; +0x10, 0x1002ff654\nMOV             X19, X0                                                ; +0x14, 0x1002ff658\nLDR             W1, [X0,#0x294]                                        ; +0x18, 0x1002ff65c\nCBNZ            W1, loc_1002FF66C                                      ; +0x1c, 0x1002ff660\nLDRH            W8, [X19,#0x490]                                       ; +0x20, 0x1002ff664\nCBZ             W8, loc_1002FF6A4                                      ; +0x24, 0x1002ff668\nMOV             X0, X19                                                ; +0x28, 0x1002ff66c\nMOV             W2, #0                                                 ; +0x2c, 0x1002ff670\nBL              GameObject__colorForMode                               ; +0x30, 0x1002ff674\nMOV             X1, X0                                                 ; +0x34, 0x1002ff678\nLDR             X8, [X19]                                              ; +0x38, 0x1002ff67c\nLDR             X8, [X8,#0x638]                                        ; +0x3c, 0x1002ff680\nMOV             X0, X19                                                ; +0x40, 0x1002ff684\nBLR             X8                                                     ; +0x44, 0x1002ff688\nLDR             W1, [X19,#0x294]                                       ; +0x48, 0x1002ff68c\nMOV             X0, X19                                                ; +0x4c, 0x1002ff690\nMOV             W2, #0                                                 ; +0x50, 0x1002ff694\nBL              GameObject__opacityModForMode                          ; +0x54, 0x1002ff698\nLDR             X8, [X19,#0x450]                                       ; +0x58, 0x1002ff69c\nSTR             S0, [X8,#8]                                            ; +0x5c, 0x1002ff6a0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x60, 0x1002ff6a4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x64, 0x1002ff6a8\nRET                                                                    ; +0x68, 0x1002ff6ac", "xrefs": ["PlayLayer::updateVisibility @ 0x1001458d4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}