{"type": "func", "start": 4410148, "end": 4410208, "name": "GJGroundLayer::updateLineBlend", "pseudocode": "// \n// GJGroundLayer::updateLineBlend from 0x434b24 to 0x434b60 (60 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::updateEditorMode @ 0x3690ea\n// > GJBaseGameLayer::updateLevelColors @ 0x46dac6\n// > GJBaseGameLayer::updateLevelColors @ 0x46dade\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  _BOOL4 m_blendLine; // r3\n  _DWORD *v3; // r1\n  _DWORD v4[2]; // [sp+0h] [bp-8h] BYREF\n\n  m_blendLine = a1->m_blendLine;\n  v4[0] = a1;\n  v4[1] = a2;\n  if ( m_blendLine != a2 )\n  {\n    a1->m_blendLine = a2;\n    if ( a2 )\n      v3 = &unk_9AB68C;\n    else\n      v3 = &unk_9AB69C;\n    ((void (__fastcall *)(cocos2d::CCSprite *, _DWORD, _DWORD, _DWORD *, _DWORD, _DWORD))a1->m_lineSprite->setBlendFunc)(\n      a1->m_lineSprite,\n      *v3,\n      v3[1],\n      v4,\n      *v3,\n      v3[1]);\n  }\n}", "assembly": "; \n; GJGroundLayer::updateLineBlend from 0x434b24 to 0x434b60 (60 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::updateEditorMode @ 0x3690ea\n; > GJBaseGameLayer::updateLevelColors @ 0x46dac6\n; > GJBaseGameLayer::updateLevelColors @ 0x46dade\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.W          R3, [R0,#0x14D]                                        ; +0x0, 0x434b24\nPUSH            {R0,R1,R4,LR}                                          ; +0x4, 0x434b28\nCMP             R3, R1                                                 ; +0x6, 0x434b2a\nBEQ             loc_434B5C                                             ; +0x8, 0x434b2c\nSTRB.W          R1, [R0,#0x14D]                                        ; +0xa, 0x434b2e\nMOV             R3, SP                                                 ; +0xe, 0x434b32\nLDR.W           R2, [R0,#0x148]                                        ; +0x10, 0x434b34\nCBZ             R1, loc_434B42                                         ; +0x14, 0x434b38\nLDR             R1, =(off_9AB688 - 0x434B40)                           ; +0x16, 0x434b3a\nADD             R1, PC; off_9AB688                                     ; +0x18, 0x434b3c\nADDS            R1, #(unk_9AB68C - 0x9AB688)                           ; +0x1a, 0x434b3e\nB               loc_434B48                                             ; +0x1c, 0x434b40\nLDR             R1, =(off_9AB688 - 0x434B48)                           ; +0x1e, 0x434b42\nADD             R1, PC; off_9AB688                                     ; +0x20, 0x434b44\nADDS            R1, #(unk_9AB69C - 0x9AB688)                           ; +0x22, 0x434b46\nLDM             R1, {R0,R1}                                            ; +0x24, 0x434b48\nSTM.W           R3, {R0,R1}                                            ; +0x26, 0x434b4a\nMOV             R0, R2                                                 ; +0x2a, 0x434b4e\nLDR             R1, [R2]                                               ; +0x2c, 0x434b50\nLDR.W           R4, [R1,#0x214]                                        ; +0x2e, 0x434b52\nLDM.W           R3, {R1,R2}                                            ; +0x32, 0x434b56\nBLX             R4                                                     ; +0x36, 0x434b5a\nADD             SP, SP, #8                                             ; +0x38, 0x434b5c\nPOP             {R4,PC}                                                ; +0x3a, 0x434b5e", "xrefs": ["LevelEditorLayer::updateEditorMode @ 0x3690ea", "GJBaseGameLayer::updateLevelColors @ 0x46dac6", "GJBaseGameLayer::updateLevelColors @ 0x46dade"], "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"}