{"type": "func", "start": 4302043040, "end": 4302043109, "name": "GJMGLayer::updateMG01Blend", "pseudocode": "// \n// GJMGLayer::updateMG01Blend from 0x1006bf7a0 to 0x1006bf7e5 (69 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::updateLevelColors @ 0x1000f0b1b\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:35:31 +0000\n// \n\n__int64 __fastcall GJMGLayer::updateMG01Blend(__int64 a1, char a2)\n{\n  bool v2; // zf\n  __int64 v3; // rsi\n  __int64 result; // rax\n\n  if ( *(_BYTE *)(a1 + 457) != a2 )\n  {\n    *(_BYTE *)(a1 + 457) = a2;\n    v2 = a2 == 0;\n    v3 = 0x30300000001LL;\n    if ( !v2 )\n      v3 = 0x100000302LL;\n    return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 464) + 912LL))(*(_QWORD *)(a1 + 464), v3);\n  }\n  return result;\n}", "assembly": "; \n; GJMGLayer::updateMG01Blend from 0x1006bf7a0 to 0x1006bf7e5 (69 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::updateLevelColors @ 0x1000f0b1b\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:35:31 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006bf7a0\nmov     rbp, rsp                                                       ; +0x1, 0x1006bf7a1\ncmp     [rdi+1C9h], sil                                                ; +0x4, 0x1006bf7a4\njnz     short loc_1006BF7AF                                            ; +0xb, 0x1006bf7ab\npop     rbp                                                            ; +0xd, 0x1006bf7ad\nretn                                                                   ; +0xe, 0x1006bf7ae\nmov     [rdi+1C9h], sil                                                ; +0xf, 0x1006bf7af\ntest    sil, sil                                                       ; +0x16, 0x1006bf7b6\nmov     rax, 100000302h                                                ; +0x19, 0x1006bf7b9\nmov     rsi, 30300000001h                                              ; +0x23, 0x1006bf7c3\ncmovnz  rsi, rax                                                       ; +0x2d, 0x1006bf7cd\nmov     rdi, [rdi+1D0h]                                                ; +0x31, 0x1006bf7d1\nmov     rax, [rdi]                                                     ; +0x38, 0x1006bf7d8\nmov     rax, [rax+390h]                                                ; +0x3b, 0x1006bf7db\npop     rbp                                                            ; +0x42, 0x1006bf7e2\njmp     rax                                                            ; +0x43, 0x1006bf7e3", "xrefs": ["GJBaseGameLayer::updateLevelColors @ 0x1000f0b1b"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}