{"type": "func", "start": 4301174912, "end": 4301174981, "name": "GJGroundLayer::updateLineBlend", "pseudocode": "// \n// GJGroundLayer::updateLineBlend from 0x1005eb880 to 0x1005eb8c5 (69 bytes)\n// \n// 4 xrefs:\n// > LevelEditorLayer::updateEditorMode @ 0x1000de966\n// > LevelEditorLayer::updateEditorMode @ 0x1000de9e0\n// > GJBaseGameLayer::updateLevelColors @ 0x10011477c\n// > GJBaseGameLayer::updateLevelColors @ 0x10011479f\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; // rdi\n  bool v3; // zf\n  __int64 v4; // rsi\n\n  if ( a1->m_blendLine != a2 )\n  {\n    a1->m_blendLine = a2;\n    m_lineSprite = a1->m_lineSprite;\n    v3 = !a2;\n    v4 = 0x30300000001LL;\n    if ( !v3 )\n      v4 = 0x100000302LL;\n    ((void (__fastcall *)(cocos2d::CCSprite *, __int64))m_lineSprite->setBlendFunc)(m_lineSprite, v4);\n  }\n}", "assembly": "; \n; GJGroundLayer::updateLineBlend from 0x1005eb880 to 0x1005eb8c5 (69 bytes)\n; \n; 4 xrefs:\n; > LevelEditorLayer::updateEditorMode @ 0x1000de966\n; > LevelEditorLayer::updateEditorMode @ 0x1000de9e0\n; > GJBaseGameLayer::updateLevelColors @ 0x10011477c\n; > GJBaseGameLayer::updateLevelColors @ 0x10011479f\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, 0x1005eb880\nmov     rbp, rsp                                                       ; +0x1, 0x1005eb881\ncmp     [rdi+1B9h], sil                                                ; +0x4, 0x1005eb884\njnz     short loc_1005EB88F                                            ; +0xb, 0x1005eb88b\npop     rbp                                                            ; +0xd, 0x1005eb88d\nretn                                                                   ; +0xe, 0x1005eb88e\nmov     [rdi+1B9h], sil                                                ; +0xf, 0x1005eb88f\nmov     rdi, [rdi+1B0h]                                                ; +0x16, 0x1005eb896\nmov     rax, [rdi]                                                     ; +0x1d, 0x1005eb89d\nmov     rax, [rax+428h]                                                ; +0x20, 0x1005eb8a0\ntest    sil, sil                                                       ; +0x27, 0x1005eb8a7\nmov     rcx, 100000302h                                                ; +0x2a, 0x1005eb8aa\nmov     rsi, 30300000001h                                              ; +0x34, 0x1005eb8b4\ncmovnz  rsi, rcx                                                       ; +0x3e, 0x1005eb8be\npop     rbp                                                            ; +0x42, 0x1005eb8c2\njmp     rax                                                            ; +0x43, 0x1005eb8c3", "xrefs": ["LevelEditorLayer::updateEditorMode @ 0x1000de966", "LevelEditorLayer::updateEditorMode @ 0x1000de9e0", "GJBaseGameLayer::updateLevelColors @ 0x10011477c", "GJBaseGameLayer::updateLevelColors @ 0x10011479f"], "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"}