{"type": "func", "start": 8307944, "end": 8308068, "name": "GJGroundLayer::updateLineBlend", "pseudocode": "// \n// GJGroundLayer::updateLineBlend from 0x7ec4e8 to 0x7ec564 (124 bytes)\n// \n// 4 xrefs:\n// > LevelEditorLayer::updateEditorMode @ 0x6625c0\n// > GJBaseGameLayer::updateLevelColors @ 0x857ef0\n// > GJBaseGameLayer::updateLevelColors @ 0x857f0c\n// > <???> @ 0x2b2a8\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 GJGroundLayer::updateLineBlend(GJGroundLayer *a1, bool a2)\n{\n  cocos2d::CCSprite *m_lineSprite; // x2\n\n  if ( a1->m_blendLine != a2 )\n  {\n    a1->m_blendLine = a2;\n    m_lineSprite = a1->m_lineSprite;\n    if ( a2 )\n      ((void (__fastcall *)(cocos2d::CCSprite *, __int64))m_lineSprite->setBlendFunc)(a1->m_lineSprite, 0x100000302LL);\n    else\n      ((void (__fastcall *)(cocos2d::CCSprite *, __int64))m_lineSprite->setBlendFunc)(a1->m_lineSprite, 0x30300000001LL);\n  }\n}", "assembly": "; \n; GJGroundLayer::updateLineBlend from 0x7ec4e8 to 0x7ec564 (124 bytes)\n; \n; 4 xrefs:\n; > LevelEditorLayer::updateEditorMode @ 0x6625c0\n; > GJBaseGameLayer::updateLevelColors @ 0x857ef0\n; > GJBaseGameLayer::updateLevelColors @ 0x857f0c\n; > <???> @ 0x2b2a8\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\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x7ec4e8\nUXTB            W1, W1                                                 ; +0x4, 0x7ec4ec\nMOV             X29, SP                                                ; +0x8, 0x7ec4f0\nLDRB            W2, [X0,#0x1B9]                                        ; +0xc, 0x7ec4f4\nCMP             W2, W1                                                 ; +0x10, 0x7ec4f8\nB.EQ            loc_7EC530                                             ; +0x14, 0x7ec4fc\nSTRB            W1, [X0,#0x1B9]                                        ; +0x18, 0x7ec500\nLDR             X2, [X0,#0x1B0]                                        ; +0x1c, 0x7ec504\nCBNZ            W1, loc_7EC538                                         ; +0x20, 0x7ec508\nMOV             X0, #1                                                 ; +0x24, 0x7ec50c\nMOV             X1, #0                                                 ; +0x28, 0x7ec510\nBFXIL           X1, X0, #0, #0x20 ; ' '                                ; +0x2c, 0x7ec514\nMOV             X0, X2                                                 ; +0x30, 0x7ec518\nLDR             X2, [X2]                                               ; +0x34, 0x7ec51c\nMOV             X3, #0x303                                             ; +0x38, 0x7ec520\nBFI             X1, X3, #0x20, #0x20 ; ' '                             ; +0x3c, 0x7ec524\nLDR             X2, [X2,#0x428]                                        ; +0x40, 0x7ec528\nBLR             X2                                                     ; +0x44, 0x7ec52c\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x48, 0x7ec530\nRET                                                                    ; +0x4c, 0x7ec534\nMOV             X0, #0x302                                             ; +0x50, 0x7ec538\nMOV             X1, #0                                                 ; +0x54, 0x7ec53c\nBFXIL           X1, X0, #0, #0x20 ; ' '                                ; +0x58, 0x7ec540\nMOV             X0, X2                                                 ; +0x5c, 0x7ec544\nLDR             X2, [X2]                                               ; +0x60, 0x7ec548\nMOV             X3, #1                                                 ; +0x64, 0x7ec54c\nBFI             X1, X3, #0x20, #0x20 ; ' '                             ; +0x68, 0x7ec550\nLDR             X2, [X2,#0x428]                                        ; +0x6c, 0x7ec554\nBLR             X2                                                     ; +0x70, 0x7ec558\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x74, 0x7ec55c\nRET                                                                    ; +0x78, 0x7ec560", "xrefs": ["LevelEditorLayer::updateEditorMode @ 0x6625c0", "GJBaseGameLayer::updateLevelColors @ 0x857ef0", "GJBaseGameLayer::updateLevelColors @ 0x857f0c", "<???> @ 0x2b2a8"], "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"}