{"type": "func", "start": 4295029264, "end": 4295029304, "name": "GJEffectManager::shouldBlend", "pseudocode": "// \n// GJEffectManager::shouldBlend from 0x10000f210 to 0x10000f238 (40 bytes)\n// \n// 7 xrefs:\n// > PlayLayer::shouldBlend @ 0x10011bfa0\n// > GJBaseGameLayer::updateLevelColors @ 0x1001ddfa8\n// > GJBaseGameLayer::updateLevelColors @ 0x1001ddfc4\n// > GJBaseGameLayer::updateLevelColors @ 0x1001de074\n// > GJBaseGameLayer::updateLevelColors @ 0x1001de090\n// > GJBaseGameLayer::updateShaderLayer @ 0x1001f1488\n// > LevelEditorLayer::updateBlendValues @ 0x1003613cc\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::shouldBlend(GJEffectManager *a1, int a2)\n{\n  int v2; // w8\n  ColorAction *v3; // x8\n\n  v2 = a2 & ~(a2 >> 31);\n  if ( v2 >= 1101 )\n    v2 = 1101;\n  v3 = a1->m_colorActionVector.__begin_[v2];\n  if ( v3 )\n    LOBYTE(v3) = v3->m_blending;\n  return (unsigned __int8)v3 & 1;\n}", "assembly": "; \n; GJEffectManager::shouldBlend from 0x10000f210 to 0x10000f238 (40 bytes)\n; \n; 7 xrefs:\n; > PlayLayer::shouldBlend @ 0x10011bfa0\n; > GJBaseGameLayer::updateLevelColors @ 0x1001ddfa8\n; > GJBaseGameLayer::updateLevelColors @ 0x1001ddfc4\n; > GJBaseGameLayer::updateLevelColors @ 0x1001de074\n; > GJBaseGameLayer::updateLevelColors @ 0x1001de090\n; > GJBaseGameLayer::updateShaderLayer @ 0x1001f1488\n; > LevelEditorLayer::updateBlendValues @ 0x1003613cc\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, 0x10000f210\nCMP             W8, #0x44D                                             ; +0x4, 0x10000f214\nMOV             W9, #0x44D                                             ; +0x8, 0x10000f218\nCSEL            W8, W8, W9, LT                                         ; +0xc, 0x10000f21c\nLDR             X9, [X0,#0x280]                                        ; +0x10, 0x10000f220\nLDR             X8, [X9,W8,UXTW#3]                                     ; +0x14, 0x10000f224\nCBZ             X8, loc_10000F230                                      ; +0x18, 0x10000f228\nLDRB            W8, [X8,#0x54]                                         ; +0x1c, 0x10000f22c\nAND             W0, W8, #1                                             ; +0x20, 0x10000f230\nRET                                                                    ; +0x24, 0x10000f234", "xrefs": ["PlayLayer::shouldBlend @ 0x10011bfa0", "GJBaseGameLayer::updateLevelColors @ 0x1001ddfa8", "GJBaseGameLayer::updateLevelColors @ 0x1001ddfc4", "GJBaseGameLayer::updateLevelColors @ 0x1001de074", "GJBaseGameLayer::updateLevelColors @ 0x1001de090", "GJBaseGameLayer::updateShaderLayer @ 0x1001f1488", "LevelEditorLayer::updateBlendValues @ 0x1003613cc"], "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"}