{"type": "func", "start": 4297975216, "end": 4297975263, "name": "GJEffectManager::shouldBlend", "pseudocode": "// \n// GJEffectManager::shouldBlend from 0x1002de5b0 to 0x1002de5df (47 bytes)\n// \n// 7 xrefs:\n// > PlayLayer::shouldBlend @ 0x1000b69dc\n// > LevelEditorLayer::updateBlendValues @ 0x1000efc91\n// > GJBaseGameLayer::updateLevelColors @ 0x100114771\n// > GJBaseGameLayer::updateLevelColors @ 0x100114794\n// > GJBaseGameLayer::updateLevelColors @ 0x100114870\n// > GJBaseGameLayer::updateLevelColors @ 0x100114893\n// > GJBaseGameLayer::updateShaderLayer @ 0x10013b621\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  bool result; // al\n  __int64 v3; // rcx\n  ColorAction *v4; // rcx\n\n  result = 0;\n  if ( a2 <= 0 )\n    a2 = 0;\n  v3 = 1101;\n  if ( a2 < 1101 )\n    v3 = (unsigned int)a2;\n  v4 = a1->m_colorActionVector.__begin_[v3];\n  if ( v4 )\n    return v4->m_blending;\n  return result;\n}", "assembly": "; \n; GJEffectManager::shouldBlend from 0x1002de5b0 to 0x1002de5df (47 bytes)\n; \n; 7 xrefs:\n; > PlayLayer::shouldBlend @ 0x1000b69dc\n; > LevelEditorLayer::updateBlendValues @ 0x1000efc91\n; > GJBaseGameLayer::updateLevelColors @ 0x100114771\n; > GJBaseGameLayer::updateLevelColors @ 0x100114794\n; > GJBaseGameLayer::updateLevelColors @ 0x100114870\n; > GJBaseGameLayer::updateLevelColors @ 0x100114893\n; > GJBaseGameLayer::updateShaderLayer @ 0x10013b621\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\npush    rbp                                                            ; +0x0, 0x1002de5b0\nmov     rbp, rsp                                                       ; +0x1, 0x1002de5b1\nxor     eax, eax                                                       ; +0x4, 0x1002de5b4\ntest    esi, esi                                                       ; +0x6, 0x1002de5b6\ncmovle  esi, eax                                                       ; +0x8, 0x1002de5b8\ncmp     esi, 44Dh                                                      ; +0xb, 0x1002de5bb\nmov     ecx, 44Dh                                                      ; +0x11, 0x1002de5c1\ncmovl   ecx, esi                                                       ; +0x16, 0x1002de5c6\nmov     rdx, [rdi+280h]                                                ; +0x19, 0x1002de5c9\nmov     rcx, [rdx+rcx*8]                                               ; +0x20, 0x1002de5d0\ntest    rcx, rcx                                                       ; +0x24, 0x1002de5d4\njz      short loc_1002DE5DD                                            ; +0x27, 0x1002de5d7\nmovzx   eax, byte ptr [rcx+54h]                                        ; +0x29, 0x1002de5d9\npop     rbp                                                            ; +0x2d, 0x1002de5dd\nretn                                                                   ; +0x2e, 0x1002de5de", "xrefs": ["PlayLayer::shouldBlend @ 0x1000b69dc", "LevelEditorLayer::updateBlendValues @ 0x1000efc91", "GJBaseGameLayer::updateLevelColors @ 0x100114771", "GJBaseGameLayer::updateLevelColors @ 0x100114794", "GJBaseGameLayer::updateLevelColors @ 0x100114870", "GJBaseGameLayer::updateLevelColors @ 0x100114893", "GJBaseGameLayer::updateShaderLayer @ 0x10013b621"], "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"}