{"type": "func", "start": 7144914, "end": 7144944, "name": "ColorAction2::updateCustomColor", "pseudocode": "// \n// ColorAction2::updateCustomColor from 0x6d05d2 to 0x6d05f0 (30 bytes)\n// \n// 0 xrefs:\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:57:02 +0000\n// \n\nint __fastcall ColorAction2::updateCustomColor(int result, int a2, int a3)\n{\n  int v3; // r3\n\n  v3 = *(_DWORD *)(result + 32);\n  if ( v3 == 1 )\n  {\n    *(_WORD *)(result + 16) = a2;\n    *(_BYTE *)(result + 18) = BYTE2(a2);\n  }\n  else if ( v3 == 2 )\n  {\n    *(_WORD *)(result + 16) = a3;\n    *(_BYTE *)(result + 18) = BYTE2(a3);\n  }\n  return result;\n}", "assembly": "; \n; ColorAction2::updateCustomColor from 0x6d05d2 to 0x6d05f0 (30 bytes)\n; \n; 0 xrefs:\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:57:02 +0000\n; \nLDR             R3, [R0,#0x20]                                         ; +0x0, 0x6d05d2\nSUB             SP, SP, #8                                             ; +0x2, 0x6d05d4\nCMP             R3, #1                                                 ; +0x4, 0x6d05d6\nBNE             loc_6D05E2                                             ; +0x6, 0x6d05d8\nSTRH            R1, [R0,#0x10]                                         ; +0x8, 0x6d05da\nLSRS            R1, R1, #0x10                                          ; +0xa, 0x6d05dc\nSTRB            R1, [R0,#0x12]                                         ; +0xc, 0x6d05de\nB               loc_6D05EC                                             ; +0xe, 0x6d05e0\nCMP             R3, #2                                                 ; +0x10, 0x6d05e2\nITTT EQ                                                                ; +0x12, 0x6d05e4\nSTRHEQ          R2, [R0,#0x10]                                         ; +0x14, 0x6d05e6\nLSREQ           R2, R2, #0x10                                          ; +0x16, 0x6d05e8\nSTRBEQ          R2, [R0,#0x12]                                         ; +0x18, 0x6d05ea\nADD             SP, SP, #8                                             ; +0x1a, 0x6d05ec\nBX              LR                                                     ; +0x1c, 0x6d05ee", "xrefs": [], "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"}