{"type": "func", "start": 4301178640, "end": 4301178709, "name": "GJMGLayer::updateMG01Blend", "pseudocode": "// \n// GJMGLayer::updateMG01Blend from 0x1005ec710 to 0x1005ec755 (69 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::updateLevelColors @ 0x10011487b\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  bool v2; // zf\n  __int64 v3; // rsi\n\n  if ( a1->m_blendMG1 != a2 )\n  {\n    a1->m_blendMG1 = a2;\n    v2 = !a2;\n    v3 = 0x30300000001LL;\n    if ( !v2 )\n      v3 = 0x100000302LL;\n    ((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, __int64))a1->m_mg1BatchNode->setBlendFunc)(\n      a1->m_mg1BatchNode,\n      v3);\n  }\n}", "assembly": "; \n; GJMGLayer::updateMG01Blend from 0x1005ec710 to 0x1005ec755 (69 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::updateLevelColors @ 0x10011487b\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, 0x1005ec710\nmov     rbp, rsp                                                       ; +0x1, 0x1005ec711\ncmp     [rdi+1C9h], sil                                                ; +0x4, 0x1005ec714\njnz     short loc_1005EC71F                                            ; +0xb, 0x1005ec71b\npop     rbp                                                            ; +0xd, 0x1005ec71d\nretn                                                                   ; +0xe, 0x1005ec71e\nmov     [rdi+1C9h], sil                                                ; +0xf, 0x1005ec71f\ntest    sil, sil                                                       ; +0x16, 0x1005ec726\nmov     rax, 100000302h                                                ; +0x19, 0x1005ec729\nmov     rsi, 30300000001h                                              ; +0x23, 0x1005ec733\ncmovnz  rsi, rax                                                       ; +0x2d, 0x1005ec73d\nmov     rdi, [rdi+1D0h]                                                ; +0x31, 0x1005ec741\nmov     rax, [rdi]                                                     ; +0x38, 0x1005ec748\nmov     rax, [rax+380h]                                                ; +0x3b, 0x1005ec74b\npop     rbp                                                            ; +0x42, 0x1005ec752\njmp     rax                                                            ; +0x43, 0x1005ec753", "xrefs": ["GJBaseGameLayer::updateLevelColors @ 0x10011487b"], "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"}