{"type": "func", "start": 4296187184, "end": 4296187294, "name": "GJBaseGameLayer::enterDualMode", "pseudocode": "// \n// GJBaseGameLayer::enterDualMode from 0x100129d30 to 0x100129d9e (110 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::loadFromCheckpoint @ 0x1000bd5ce\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 GJBaseGameLayer::enterDualMode(GJBaseGameLayer *a1, GameObject *a2, bool a3)\n{\n  __int64 v3; // [rsp-30h] [rbp-30h] BYREF\n\n  if ( a2 )\n  {\n    ((void (__fastcall *)(GameObject *, GameObject *, bool))a2->getPosition)(a2, a2, a3);\n    sub_10028CC60(&v3);\n    sub_10028CC90();\n    a1->m_player1->m_lastActivatedPortal = a2;\n    a1->m_gameState.m_lastActivatedPortal1 = a2;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::enterDualMode from 0x100129d30 to 0x100129d9e (110 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::loadFromCheckpoint @ 0x1000bd5ce\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\ntest    rsi, rsi                                                       ; +0x0, 0x100129d30\njz      short locret_100129D9D                                         ; +0x3, 0x100129d33\npush    rbp                                                            ; +0x5, 0x100129d35\nmov     rbp, rsp                                                       ; +0x6, 0x100129d36\npush    r15                                                            ; +0x9, 0x100129d39\npush    r14                                                            ; +0xb, 0x100129d3b\npush    r12                                                            ; +0xd, 0x100129d3d\npush    rbx                                                            ; +0xf, 0x100129d3f\nsub     rsp, 10h                                                       ; +0x10, 0x100129d40\nmov     ebx, 9B0h                                                      ; +0x14, 0x100129d44\nadd     rbx, [rdi+0CA0h]                                               ; +0x19, 0x100129d49\nmov     rax, [rsi]                                                     ; +0x20, 0x100129d50\nmov     r15, rdi                                                       ; +0x23, 0x100129d53\nmov     rdi, rsi                                                       ; +0x26, 0x100129d56\nmov     r12, rsi                                                       ; +0x29, 0x100129d59\ncall    qword ptr [rax+0C0h]                                           ; +0x2c, 0x100129d5c\nlea     r14, [rbp-28h]                                                 ; +0x32, 0x100129d62\nmov     rdi, r14                                                       ; +0x36, 0x100129d66\nmov     rsi, rax                                                       ; +0x39, 0x100129d69\ncall    sub_10028CC60                                                  ; +0x3c, 0x100129d6c\nmov     rdi, rbx                                                       ; +0x41, 0x100129d71\nmov     rsi, r14                                                       ; +0x44, 0x100129d74\ncall    sub_10028CC90                                                  ; +0x47, 0x100129d77\nmov     rax, [r15+0CA0h]                                               ; +0x4c, 0x100129d7c\nmov     [rax+0A18h], r12                                               ; +0x53, 0x100129d83\nmov     [r15+3D0h], r12                                                ; +0x5a, 0x100129d8a\nadd     rsp, 10h                                                       ; +0x61, 0x100129d91\npop     rbx                                                            ; +0x65, 0x100129d95\npop     r12                                                            ; +0x66, 0x100129d96\npop     r14                                                            ; +0x68, 0x100129d98\npop     r15                                                            ; +0x6a, 0x100129d9a\npop     rbp                                                            ; +0x6c, 0x100129d9c\nretn                                                                   ; +0x6d, 0x100129d9d", "xrefs": ["PlayLayer::loadFromCheckpoint @ 0x1000bd5ce"], "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"}