{"type": "func", "start": 4295151864, "end": 4295151924, "name": "GJMGLayer::updateMG01Blend", "pseudocode": "// \n// GJMGLayer::updateMG01Blend from 0x10002d0f8 to 0x10002d134 (60 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::updateLevelColors @ 0x1001de080\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 GJMGLayer::updateMG01Blend(GJMGLayer *a1, bool a2)\n{\n  __int64 v2; // x1\n\n  if ( a1->m_blendMG1 != a2 )\n  {\n    a1->m_blendMG1 = a2;\n    if ( a2 )\n      v2 = 0x100000302LL;\n    else\n      v2 = 0x30300000001LL;\n    ((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, __int64))a1->m_mg1BatchNode->setBlendFunc)(\n      a1->m_mg1BatchNode,\n      v2);\n  }\n}", "assembly": "; \n; GJMGLayer::updateMG01Blend from 0x10002d0f8 to 0x10002d134 (60 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::updateLevelColors @ 0x1001de080\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,#0x1C9]                                        ; +0x0, 0x10002d0f8\nCMP             W8, W1                                                 ; +0x4, 0x10002d0fc\nB.NE            loc_10002D108                                          ; +0x8, 0x10002d100\nRET                                                                    ; +0xc, 0x10002d104\nSTRB            W1, [X0,#0x1C9]                                        ; +0x10, 0x10002d108\nCMP             W1, #0                                                 ; +0x14, 0x10002d10c\nMOV             X8, #0x30300000001                                     ; +0x18, 0x10002d110\nMOV             X9, #0x100000302                                       ; +0x20, 0x10002d118\nCSEL            X1, X9, X8, NE                                         ; +0x28, 0x10002d120\nLDR             X0, [X0,#0x1D0]                                        ; +0x2c, 0x10002d124\nLDR             X8, [X0]                                               ; +0x30, 0x10002d128\nLDR             X2, [X8,#0x380]                                        ; +0x34, 0x10002d12c\nBR              X2                                                     ; +0x38, 0x10002d130", "xrefs": ["GJBaseGameLayer::updateLevelColors @ 0x1001de080"], "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"}