{"type": "func", "start": 4296123152, "end": 4296123226, "name": "GJBaseGameLayer::togglePlayerStreakBlend", "pseudocode": "// \n// GJBaseGameLayer::togglePlayerStreakBlend from 0x10011a310 to 0x10011a35a (74 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::loadFromCheckpoint @ 0x10008b31d\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:24:35 +0000\n// \n\nunsigned __int8 __fastcall GJBaseGameLayer::togglePlayerStreakBlend(__int64 a1, unsigned __int8 a2, unsigned __int8 a3)\n{\n  unsigned __int8 result; // al\n\n  result = *(_BYTE *)(a1 + 812) == a2;\n  if ( ((a3 ^ 1) & result) == 0 )\n  {\n    *(_BYTE *)(a1 + 812) = a2;\n    PlayerObject::updateStreakBlend(*(_QWORD *)(a1 + 3256), a2);\n    return PlayerObject::updateStreakBlend(*(_QWORD *)(a1 + 3264), a2);\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::togglePlayerStreakBlend from 0x10011a310 to 0x10011a35a (74 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::loadFromCheckpoint @ 0x10008b31d\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:24:35 +0000\n; \nxor     dl, 1                                                          ; +0x0, 0x10011a310\ncmp     [rdi+32Ch], sil                                                ; +0x3, 0x10011a313\nsetz    al                                                             ; +0xa, 0x10011a31a\ntest    al, dl                                                         ; +0xd, 0x10011a31d\njnz     short locret_10011A359                                         ; +0xf, 0x10011a31f\npush    rbp                                                            ; +0x11, 0x10011a321\nmov     rbp, rsp                                                       ; +0x12, 0x10011a322\npush    r14                                                            ; +0x15, 0x10011a325\npush    rbx                                                            ; +0x17, 0x10011a327\nmov     [rdi+32Ch], sil                                                ; +0x18, 0x10011a328\nmov     rax, [rdi+0CB8h]                                               ; +0x1f, 0x10011a32f\nmovzx   ebx, sil                                                       ; +0x26, 0x10011a336\nmov     r14, rdi                                                       ; +0x2a, 0x10011a33a\nmov     rdi, rax                                                       ; +0x2d, 0x10011a33d\nmov     esi, ebx                                                       ; +0x30, 0x10011a340\ncall    PlayerObject__updateStreakBlend                                ; +0x32, 0x10011a342\nmov     rdi, [r14+0CC0h]                                               ; +0x37, 0x10011a347\nmov     esi, ebx                                                       ; +0x3e, 0x10011a34e\npop     rbx                                                            ; +0x40, 0x10011a350\npop     r14                                                            ; +0x41, 0x10011a351\npop     rbp                                                            ; +0x43, 0x10011a353\njmp     PlayerObject__updateStreakBlend                                ; +0x44, 0x10011a354\nretn                                                                   ; +0x49, 0x10011a359", "xrefs": ["PlayLayer::loadFromCheckpoint @ 0x10008b31d"], "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"}