{"type": "func", "start": 6040206, "end": 6040244, "name": "ColorAction::updateCustomColor", "pseudocode": "// \n// ColorAction::updateCustomColor from 0x5c2a8e to 0x5c2ab4 (38 bytes)\n// \n// 1 xrefs:\n// > GJEffectManager::updateColors @ 0x5c2f76\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:53:51 +0000\n// \n\nint __fastcall ColorAction::updateCustomColor(int result, int a2, int a3)\n{\n  int v3; // r3\n\n  v3 = *(_DWORD *)(result + 84);\n  if ( v3 == 1 )\n  {\n    *(_WORD *)(result + 68) = a2;\n    *(_BYTE *)(result + 70) = BYTE2(a2);\n  }\n  else if ( v3 == 2 )\n  {\n    *(_WORD *)(result + 68) = a3;\n    *(_BYTE *)(result + 70) = BYTE2(a3);\n  }\n  return result;\n}", "assembly": "; \n; ColorAction::updateCustomColor from 0x5c2a8e to 0x5c2ab4 (38 bytes)\n; \n; 1 xrefs:\n; > GJEffectManager::updateColors @ 0x5c2f76\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:53:51 +0000\n; \nLDR             R3, [R0,#0x54]                                         ; +0x0, 0x5c2a8e\nSUB             SP, SP, #8                                             ; +0x2, 0x5c2a90\nCMP             R3, #1                                                 ; +0x4, 0x5c2a92\nBNE             loc_5C2AA2                                             ; +0x6, 0x5c2a94\nSTRH.W          R1, [R0,#0x44]                                         ; +0x8, 0x5c2a96\nLSRS            R1, R1, #0x10                                          ; +0xc, 0x5c2a9a\nSTRB.W          R1, [R0,#0x46]                                         ; +0xe, 0x5c2a9c\nB               loc_5C2AB0                                             ; +0x12, 0x5c2aa0\nCMP             R3, #2                                                 ; +0x14, 0x5c2aa2\nITTT EQ                                                                ; +0x16, 0x5c2aa4\nSTRHEQ.W        R2, [R0,#0x44]                                         ; +0x18, 0x5c2aa6\nLSREQ           R2, R2, #0x10                                          ; +0x1c, 0x5c2aaa\nSTRBEQ.W        R2, [R0,#0x46]                                         ; +0x1e, 0x5c2aac\nADD             SP, SP, #8                                             ; +0x22, 0x5c2ab0\nBX              LR                                                     ; +0x24, 0x5c2ab2", "xrefs": ["GJEffectManager::updateColors @ 0x5c2f76"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}