{"type": "func", "start": 8312004, "end": 8312096, "name": "GJMGLayer::updateMG02Blend", "pseudocode": "// \n// GJMGLayer::updateMG02Blend from 0x7ed4c4 to 0x7ed520 (92 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::updateLevelColors @ 0x858000\n// > <???> @ 0x39dc8\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 GJMGLayer::updateMG02Blend(GJMGLayer *a1, bool a2)\n{\n  cocos2d::CCSpriteBatchNode_vtbl *v2; // x6\n\n  if ( a1->m_blendMG2 != a2 )\n  {\n    v2 = a1->m_mg2BatchNode->__vftable;\n    a1->m_blendMG2 = a2;\n    ((void (*)(void))v2->setBlendFunc)();\n  }\n}", "assembly": "; \n; GJMGLayer::updateMG02Blend from 0x7ed4c4 to 0x7ed520 (92 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::updateLevelColors @ 0x858000\n; > <???> @ 0x39dc8\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, 0x7ed4c4\nUXTB            W3, W1                                                 ; +0x4, 0x7ed4c8\nMOV             X29, SP                                                ; +0x8, 0x7ed4cc\nLDRB            W1, [X0,#0x1CA]                                        ; +0xc, 0x7ed4d0\nCMP             W1, W3                                                 ; +0x10, 0x7ed4d4\nB.EQ            loc_7ED518                                             ; +0x14, 0x7ed4d8\nMOV             X2, X0                                                 ; +0x18, 0x7ed4dc\nLDR             X0, [X0,#0x1D8]                                        ; +0x1c, 0x7ed4e0\nCMP             W3, WZR                                                ; +0x20, 0x7ed4e4\nMOV             W5, #0x303                                             ; +0x24, 0x7ed4e8\nCSINC           W5, W5, WZR, EQ                                        ; +0x28, 0x7ed4ec\nMOV             X1, #0                                                 ; +0x2c, 0x7ed4f0\nLDR             X6, [X0]                                               ; +0x30, 0x7ed4f4\nCMP             W3, WZR                                                ; +0x34, 0x7ed4f8\nMOV             W4, #0x302                                             ; +0x38, 0x7ed4fc\nBFI             X1, X5, #0x20, #0x20 ; ' '                             ; +0x3c, 0x7ed500\nCSINC           W4, W4, WZR, NE                                        ; +0x40, 0x7ed504\nSTRB            W3, [X2,#0x1CA]                                        ; +0x44, 0x7ed508\nLDR             X2, [X6,#0x380]                                        ; +0x48, 0x7ed50c\nBFXIL           X1, X4, #0, #0x20 ; ' '                                ; +0x4c, 0x7ed510\nBLR             X2                                                     ; +0x50, 0x7ed514\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x54, 0x7ed518\nRET                                                                    ; +0x58, 0x7ed51c", "xrefs": ["GJBaseGameLayer::updateLevelColors @ 0x858000", "<???> @ 0x39dc8"], "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"}