{"type": "func", "start": 4295031736, "end": 4295031772, "name": "GJEffectManager::colorExists", "pseudocode": "// \n// GJEffectManager::colorExists from 0x10000fbb8 to 0x10000fbdc (36 bytes)\n// \n// 5 xrefs:\n// > CustomizeObjectLayer::updateColorSprite @ 0x100050210\n// > LevelSettingsLayer::updateColorSprite @ 0x10017bf9c\n// > GJColorSetupLayer::updateSpriteColor @ 0x10018e5e0\n// > LevelEditorLayer::getNextColorChannel @ 0x1003603c4\n// > EditorUI::spriteFromObjectString @ 0x1003ea904\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\nbool __fastcall GJEffectManager::colorExists(GJEffectManager *a1, int a2)\n{\n  int v2; // w8\n\n  v2 = a2 & ~(a2 >> 31);\n  if ( v2 >= 1101 )\n    v2 = 1101;\n  return a1->m_colorActionVector.__begin_[v2] != nullptr;\n}", "assembly": "; \n; GJEffectManager::colorExists from 0x10000fbb8 to 0x10000fbdc (36 bytes)\n; \n; 5 xrefs:\n; > CustomizeObjectLayer::updateColorSprite @ 0x100050210\n; > LevelSettingsLayer::updateColorSprite @ 0x10017bf9c\n; > GJColorSetupLayer::updateSpriteColor @ 0x10018e5e0\n; > LevelEditorLayer::getNextColorChannel @ 0x1003603c4\n; > EditorUI::spriteFromObjectString @ 0x1003ea904\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\nBIC             W8, W1, W1,ASR#31                                      ; +0x0, 0x10000fbb8\nCMP             W8, #0x44D                                             ; +0x4, 0x10000fbbc\nMOV             W9, #0x44D                                             ; +0x8, 0x10000fbc0\nCSEL            W8, W8, W9, LT                                         ; +0xc, 0x10000fbc4\nLDR             X9, [X0,#0x280]                                        ; +0x10, 0x10000fbc8\nLDR             X8, [X9,W8,UXTW#3]                                     ; +0x14, 0x10000fbcc\nCMP             X8, #0                                                 ; +0x18, 0x10000fbd0\nCSET            W0, NE                                                 ; +0x1c, 0x10000fbd4\nRET                                                                    ; +0x20, 0x10000fbd8", "xrefs": ["CustomizeObjectLayer::updateColorSprite @ 0x100050210", "LevelSettingsLayer::updateColorSprite @ 0x10017bf9c", "GJColorSetupLayer::updateSpriteColor @ 0x10018e5e0", "LevelEditorLayer::getNextColorChannel @ 0x1003603c4", "EditorUI::spriteFromObjectString @ 0x1003ea904"], "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"}