{"type": "func", "start": 4295149072, "end": 4295149132, "name": "GJGroundLayer::updateLineBlend", "pseudocode": "// \n// GJGroundLayer::updateLineBlend from 0x10002c610 to 0x10002c64c (60 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::updateLevelColors @ 0x1001ddfb4\n// > GJBaseGameLayer::updateLevelColors @ 0x1001ddfd0\n// > LevelEditorLayer::updateEditorMode @ 0x100358ff0\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\nvoid __fastcall GJGroundLayer::updateLineBlend(GJGroundLayer *a1, bool a2)\n{\n  cocos2d::CCSprite *m_lineSprite; // x0\n  __int64 v3; // x1\n\n  if ( a1->m_blendLine != a2 )\n  {\n    a1->m_blendLine = a2;\n    m_lineSprite = a1->m_lineSprite;\n    if ( a2 )\n      v3 = 0x100000302LL;\n    else\n      v3 = 0x30300000001LL;\n    ((void (__fastcall *)(cocos2d::CCSprite *, __int64))m_lineSprite->setBlendFunc)(m_lineSprite, v3);\n  }\n}", "assembly": "; \n; GJGroundLayer::updateLineBlend from 0x10002c610 to 0x10002c64c (60 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::updateLevelColors @ 0x1001ddfb4\n; > GJBaseGameLayer::updateLevelColors @ 0x1001ddfd0\n; > LevelEditorLayer::updateEditorMode @ 0x100358ff0\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\nLDRB            W8, [X0,#0x1B9]                                        ; +0x0, 0x10002c610\nCMP             W8, W1                                                 ; +0x4, 0x10002c614\nB.NE            loc_10002C620                                          ; +0x8, 0x10002c618\nRET                                                                    ; +0xc, 0x10002c61c\nSTRB            W1, [X0,#0x1B9]                                        ; +0x10, 0x10002c620\nLDR             X0, [X0,#0x1B0]                                        ; +0x14, 0x10002c624\nLDR             X8, [X0]                                               ; +0x18, 0x10002c628\nLDR             X2, [X8,#0x428]                                        ; +0x1c, 0x10002c62c\nCMP             W1, #0                                                 ; +0x20, 0x10002c630\nMOV             X8, #0x30300000001                                     ; +0x24, 0x10002c634\nMOV             X9, #0x100000302                                       ; +0x2c, 0x10002c63c\nCSEL            X1, X9, X8, NE                                         ; +0x34, 0x10002c644\nBR              X2                                                     ; +0x38, 0x10002c648", "xrefs": ["GJBaseGameLayer::updateLevelColors @ 0x1001ddfb4", "GJBaseGameLayer::updateLevelColors @ 0x1001ddfd0", "LevelEditorLayer::updateEditorMode @ 0x100358ff0"], "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"}