{"type": "func", "start": 4297887824, "end": 4297887871, "name": "GJEffectManager::shouldBlend", "pseudocode": "// \n// GJEffectManager::shouldBlend from 0x1002c9050 to 0x1002c907f (47 bytes)\n// \n// 7 xrefs:\n// > PlayLayer::shouldBlend @ 0x1000842dc\n// > LevelEditorLayer::updateBlendValues @ 0x1000c33c1\n// > GJBaseGameLayer::updateLevelColors @ 0x1000f0a11\n// > GJBaseGameLayer::updateLevelColors @ 0x1000f0a34\n// > GJBaseGameLayer::updateLevelColors @ 0x1000f0b10\n// > GJBaseGameLayer::updateLevelColors @ 0x1000f0b33\n// > GJBaseGameLayer::updateShaderLayer @ 0x100118bc1\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:28:09 +0000\n// \n\n__int64 __fastcall GJEffectManager::shouldBlend(__int64 a1, int a2)\n{\n  __int64 result; // rax\n  __int64 v3; // rcx\n  __int64 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 = *(_QWORD *)(*(_QWORD *)(a1 + 640) + 8 * v3);\n  if ( v4 )\n    return *(unsigned __int8 *)(v4 + 84);\n  return result;\n}", "assembly": "; \n; GJEffectManager::shouldBlend from 0x1002c9050 to 0x1002c907f (47 bytes)\n; \n; 7 xrefs:\n; > PlayLayer::shouldBlend @ 0x1000842dc\n; > LevelEditorLayer::updateBlendValues @ 0x1000c33c1\n; > GJBaseGameLayer::updateLevelColors @ 0x1000f0a11\n; > GJBaseGameLayer::updateLevelColors @ 0x1000f0a34\n; > GJBaseGameLayer::updateLevelColors @ 0x1000f0b10\n; > GJBaseGameLayer::updateLevelColors @ 0x1000f0b33\n; > GJBaseGameLayer::updateShaderLayer @ 0x100118bc1\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:28:09 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002c9050\nmov     rbp, rsp                                                       ; +0x1, 0x1002c9051\nxor     eax, eax                                                       ; +0x4, 0x1002c9054\ntest    esi, esi                                                       ; +0x6, 0x1002c9056\ncmovle  esi, eax                                                       ; +0x8, 0x1002c9058\ncmp     esi, 44Dh                                                      ; +0xb, 0x1002c905b\nmov     ecx, 44Dh                                                      ; +0x11, 0x1002c9061\ncmovl   ecx, esi                                                       ; +0x16, 0x1002c9066\nmov     rdx, [rdi+280h]                                                ; +0x19, 0x1002c9069\nmov     rcx, [rdx+rcx*8]                                               ; +0x20, 0x1002c9070\ntest    rcx, rcx                                                       ; +0x24, 0x1002c9074\njz      short loc_1002C907D                                            ; +0x27, 0x1002c9077\nmovzx   eax, byte ptr [rcx+54h]                                        ; +0x29, 0x1002c9079\npop     rbp                                                            ; +0x2d, 0x1002c907d\nretn                                                                   ; +0x2e, 0x1002c907e", "xrefs": ["PlayLayer::shouldBlend @ 0x1000842dc", "LevelEditorLayer::updateBlendValues @ 0x1000c33c1", "GJBaseGameLayer::updateLevelColors @ 0x1000f0a11", "GJBaseGameLayer::updateLevelColors @ 0x1000f0a34", "GJBaseGameLayer::updateLevelColors @ 0x1000f0b10", "GJBaseGameLayer::updateLevelColors @ 0x1000f0b33", "GJBaseGameLayer::updateShaderLayer @ 0x100118bc1"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}