{"type": "func", "start": 7726384, "end": 7726488, "name": "EffectGameObject::getTargetColorIndex", "pseudocode": "// \n// EffectGameObject::getTargetColorIndex from 0x75e530 to 0x75e598 (104 bytes)\n// \n// 3 xrefs:\n// > ColorSelectPopup::updateCopyColor @ 0x73cc28\n// > ColorSelectPopup::updateCopyColor @ 0x73cc6c\n// > <???> @ 0x7e2a0\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\nint EffectGameObject::getTargetColorIndex(EffectGameObject *a1)\n{\n  int m_objectID; // w1\n  int result; // w0\n\n  m_objectID = a1->m_objectID;\n  if ( m_objectID == 105 )\n    return 1004;\n  if ( m_objectID <= 105 )\n  {\n    result = 1000;\n    if ( m_objectID != 29 )\n    {\n      result = 1001;\n      if ( m_objectID != 30 )\n        return a1->m_targetColor;\n    }\n  }\n  else\n  {\n    if ( m_objectID == 900 )\n      return 1009;\n    result = 1002;\n    if ( m_objectID != 915 )\n    {\n      result = 1003;\n      if ( m_objectID != 744 )\n        return a1->m_targetColor;\n    }\n  }\n  return result;\n}", "assembly": "; \n; EffectGameObject::getTargetColorIndex from 0x75e530 to 0x75e598 (104 bytes)\n; \n; 3 xrefs:\n; > ColorSelectPopup::updateCopyColor @ 0x73cc28\n; > ColorSelectPopup::updateCopyColor @ 0x73cc6c\n; > <???> @ 0x7e2a0\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\nLDR             W1, [X0,#0x3F4]                                        ; +0x0, 0x75e530\nMOV             X2, X0                                                 ; +0x4, 0x75e534\nCMP             W1, #0x69 ; 'i'                                        ; +0x8, 0x75e538\nB.EQ            loc_75E590                                             ; +0xc, 0x75e53c\nB.LE            loc_75E56C                                             ; +0x10, 0x75e540\nCMP             W1, #0x384                                             ; +0x14, 0x75e544\nB.EQ            loc_75E588                                             ; +0x18, 0x75e548\nCMP             W1, #0x393                                             ; +0x1c, 0x75e54c\nMOV             W0, #0x3EA                                             ; +0x20, 0x75e550\nB.EQ            locret_75E568                                          ; +0x24, 0x75e554\nCMP             W1, #0x2E8                                             ; +0x28, 0x75e558\nMOV             W0, #0x3EB                                             ; +0x2c, 0x75e55c\nB.EQ            locret_75E568                                          ; +0x30, 0x75e560\nLDR             W0, [X2,#0x3F0]                                        ; +0x34, 0x75e564\nRET                                                                    ; +0x38, 0x75e568\nCMP             W1, #0x1D                                              ; +0x3c, 0x75e56c\nMOV             W0, #0x3E8                                             ; +0x40, 0x75e570\nB.EQ            locret_75E568                                          ; +0x44, 0x75e574\nCMP             W1, #0x1E                                              ; +0x48, 0x75e578\nMOV             W0, #0x3E9                                             ; +0x4c, 0x75e57c\nB.NE            loc_75E564                                             ; +0x50, 0x75e580\nRET                                                                    ; +0x54, 0x75e584\nMOV             W0, #0x3F1                                             ; +0x58, 0x75e588\nRET                                                                    ; +0x5c, 0x75e58c\nMOV             W0, #0x3EC                                             ; +0x60, 0x75e590\nRET                                                                    ; +0x64, 0x75e594", "xrefs": ["ColorSelectPopup::updateCopyColor @ 0x73cc28", "ColorSelectPopup::updateCopyColor @ 0x73cc6c", "<???> @ 0x7e2a0"], "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"}