{"type": "func", "start": 10457792, "end": 10457880, "name": "ColorAction::updateCustomColor", "pseudocode": "// \n// ColorAction::updateCustomColor from 0x9f92c0 to 0x9f9318 (88 bytes)\n// \n// 2 xrefs:\n// > GJEffectManager::updateColors @ 0x9f9b34\n// > <???> @ 0xd6030\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 12:59:15 +0000\n// \n\n__int64 __fastcall ColorAction::updateCustomColor(__int64 result, int a2, int a3)\n{\n  int v3; // w1\n\n  v3 = *(_DWORD *)(result + 88);\n  if ( v3 == 1 )\n  {\n    *(_WORD *)(result + 72) = a2;\n    *(_BYTE *)(result + 74) = BYTE2(a2);\n  }\n  else if ( v3 == 2 )\n  {\n    *(_WORD *)(result + 72) = a3;\n    *(_BYTE *)(result + 74) = BYTE2(a3);\n  }\n  return result;\n}", "assembly": "; \n; ColorAction::updateCustomColor from 0x9f92c0 to 0x9f9318 (88 bytes)\n; \n; 2 xrefs:\n; > GJEffectManager::updateColors @ 0x9f9b34\n; > <???> @ 0xd6030\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 12:59:15 +0000\n; \nSUB             SP, SP, #0x10                                          ; +0x0, 0x9f92c0\nSTR             X1, [SP,#0x10+var_8]                                   ; +0x4, 0x9f92c4\nLDR             W1, [X0,#0x58]                                         ; +0x8, 0x9f92c8\nSTR             X2, [SP,#0x10+var_10]                                  ; +0xc, 0x9f92cc\nCMP             W1, #1                                                 ; +0x10, 0x9f92d0\nB.EQ            loc_9F9300                                             ; +0x14, 0x9f92d4\nCMP             W1, #2                                                 ; +0x18, 0x9f92d8\nB.EQ            loc_9F92E8                                             ; +0x1c, 0x9f92dc\nADD             SP, SP, #0x10                                          ; +0x20, 0x9f92e0\nRET                                                                    ; +0x24, 0x9f92e4\nLDRH            W3, [SP,#0x10+var_10]                                  ; +0x28, 0x9f92e8\nLDRB            W1, [SP,#0x10+var_10+2]                                ; +0x2c, 0x9f92ec\nSTRH            W3, [X0,#0x48]                                         ; +0x30, 0x9f92f0\nSTRB            W1, [X0,#0x4A]                                         ; +0x34, 0x9f92f4\nADD             SP, SP, #0x10                                          ; +0x38, 0x9f92f8\nRET                                                                    ; +0x3c, 0x9f92fc\nLDRH            W1, [SP,#0x10+var_8]                                   ; +0x40, 0x9f9300\nSTRH            W1, [X0,#0x48]                                         ; +0x44, 0x9f9304\nLDRB            W1, [SP,#0x10+var_8+2]                                 ; +0x48, 0x9f9308\nSTRB            W1, [X0,#0x4A]                                         ; +0x4c, 0x9f930c\nADD             SP, SP, #0x10                                          ; +0x50, 0x9f9310\nRET                                                                    ; +0x54, 0x9f9314", "xrefs": ["GJEffectManager::updateColors @ 0x9f9b34", "<???> @ 0xd6030"], "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"}