{"type": "func", "start": 9060480, "end": 9060532, "name": "GJEffectManager::shouldBlend", "pseudocode": "// \n// GJEffectManager::shouldBlend from 0x8a4080 to 0x8a40b4 (52 bytes)\n// \n// 8 xrefs:\n// > PlayLayer::shouldBlend @ 0x5cc424\n// > LevelEditorLayer::updateBlendValues @ 0x660410\n// > GJBaseGameLayer::updateLevelColors @ 0x857ee4\n// > GJBaseGameLayer::updateLevelColors @ 0x857f00\n// > GJBaseGameLayer::updateLevelColors @ 0x857fd8\n// > GJBaseGameLayer::updateLevelColors @ 0x857ff4\n// > GJBaseGameLayer::updateShaderLayer @ 0x85f38c\n// > <???> @ 0x43680\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 GJEffectManager::shouldBlend(GJEffectManager *a1, int a2)\n{\n  __int64 v2; // x2\n  ColorAction *v3; // x0\n\n  v2 = 1101;\n  if ( a2 <= 1100 )\n  {\n    if ( a2 < 0 )\n      a2 = 0;\n    v2 = a2;\n  }\n  v3 = a1->m_colorActionVector.m_start[v2];\n  return v3 && v3->m_blending;\n}", "assembly": "; \n; GJEffectManager::shouldBlend from 0x8a4080 to 0x8a40b4 (52 bytes)\n; \n; 8 xrefs:\n; > PlayLayer::shouldBlend @ 0x5cc424\n; > LevelEditorLayer::updateBlendValues @ 0x660410\n; > GJBaseGameLayer::updateLevelColors @ 0x857ee4\n; > GJBaseGameLayer::updateLevelColors @ 0x857f00\n; > GJBaseGameLayer::updateLevelColors @ 0x857fd8\n; > GJBaseGameLayer::updateLevelColors @ 0x857ff4\n; > GJBaseGameLayer::updateShaderLayer @ 0x85f38c\n; > <???> @ 0x43680\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\nCMP             W1, #0x44C                                             ; +0x0, 0x8a4080\nMOV             X2, #0x2268                                            ; +0x4, 0x8a4084\nB.GT            loc_8A4098                                             ; +0x8, 0x8a4088\nCMP             W1, WZR                                                ; +0xc, 0x8a408c\nCSEL            W1, W1, WZR, GE                                        ; +0x10, 0x8a4090\nSBFIZ           X2, X1, #3, #0x20 ; ' '                                ; +0x14, 0x8a4094\nLDR             X0, [X0,#0x2C0]                                        ; +0x18, 0x8a4098\nLDR             X0, [X0,X2]                                            ; +0x1c, 0x8a409c\nCBZ             X0, loc_8A40AC                                         ; +0x20, 0x8a40a0\nLDRB            W0, [X0,#0x54]                                         ; +0x24, 0x8a40a4\nRET                                                                    ; +0x28, 0x8a40a8\nMOV             W0, #0                                                 ; +0x2c, 0x8a40ac\nRET                                                                    ; +0x30, 0x8a40b0", "xrefs": ["PlayLayer::shouldBlend @ 0x5cc424", "LevelEditorLayer::updateBlendValues @ 0x660410", "GJBaseGameLayer::updateLevelColors @ 0x857ee4", "GJBaseGameLayer::updateLevelColors @ 0x857f00", "GJBaseGameLayer::updateLevelColors @ 0x857fd8", "GJBaseGameLayer::updateLevelColors @ 0x857ff4", "GJBaseGameLayer::updateShaderLayer @ 0x85f38c", "<???> @ 0x43680"], "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"}