{"type": "func", "start": 4296046432, "end": 4296046542, "name": "GJBaseGameLayer::enterDualMode", "pseudocode": "// \n// GJBaseGameLayer::enterDualMode from 0x100107760 to 0x1001077ce (110 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::loadFromCheckpoint @ 0x10008b221\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:21:32 +0000\n// \n\nvoid __fastcall GJBaseGameLayer::enterDualMode(__int64 a1, __int64 a2)\n{\n  __int64 v2; // rbx\n  __int64 v3; // rax\n  _BYTE v4[48]; // [rsp-30h] [rbp-30h] BYREF\n\n  if ( a2 )\n  {\n    v2 = *(_QWORD *)(a1 + 3256) + 2488LL;\n    v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 192LL))(a2);\n    sub_1002782D0(v4, v3);\n    sub_100278300(v2, v4);\n    *(_QWORD *)(*(_QWORD *)(a1 + 3256) + 2592LL) = a2;\n    *(_QWORD *)(a1 + 976) = a2;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::enterDualMode from 0x100107760 to 0x1001077ce (110 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::loadFromCheckpoint @ 0x10008b221\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:21:32 +0000\n; \ntest    rsi, rsi                                                       ; +0x0, 0x100107760\njz      short locret_1001077CD                                         ; +0x3, 0x100107763\npush    rbp                                                            ; +0x5, 0x100107765\nmov     rbp, rsp                                                       ; +0x6, 0x100107766\npush    r15                                                            ; +0x9, 0x100107769\npush    r14                                                            ; +0xb, 0x10010776b\npush    r12                                                            ; +0xd, 0x10010776d\npush    rbx                                                            ; +0xf, 0x10010776f\nsub     rsp, 10h                                                       ; +0x10, 0x100107770\nmov     ebx, 9B8h                                                      ; +0x14, 0x100107774\nadd     rbx, [rdi+0CB8h]                                               ; +0x19, 0x100107779\nmov     rax, [rsi]                                                     ; +0x20, 0x100107780\nmov     r15, rdi                                                       ; +0x23, 0x100107783\nmov     rdi, rsi                                                       ; +0x26, 0x100107786\nmov     r12, rsi                                                       ; +0x29, 0x100107789\ncall    qword ptr [rax+0C0h]                                           ; +0x2c, 0x10010778c\nlea     r14, [rbp-28h]                                                 ; +0x32, 0x100107792\nmov     rdi, r14                                                       ; +0x36, 0x100107796\nmov     rsi, rax                                                       ; +0x39, 0x100107799\ncall    sub_1002782D0                                                  ; +0x3c, 0x10010779c\nmov     rdi, rbx                                                       ; +0x41, 0x1001077a1\nmov     rsi, r14                                                       ; +0x44, 0x1001077a4\ncall    sub_100278300                                                  ; +0x47, 0x1001077a7\nmov     rax, [r15+0CB8h]                                               ; +0x4c, 0x1001077ac\nmov     [rax+0A20h], r12                                               ; +0x53, 0x1001077b3\nmov     [r15+3D0h], r12                                                ; +0x5a, 0x1001077ba\nadd     rsp, 10h                                                       ; +0x61, 0x1001077c1\npop     rbx                                                            ; +0x65, 0x1001077c5\npop     r12                                                            ; +0x66, 0x1001077c6\npop     r14                                                            ; +0x68, 0x1001077c8\npop     r15                                                            ; +0x6a, 0x1001077ca\npop     rbp                                                            ; +0x6c, 0x1001077cc\nretn                                                                   ; +0x6d, 0x1001077cd", "xrefs": ["PlayLayer::loadFromCheckpoint @ 0x10008b221"], "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"}