{"type": "func", "start": 4297612460, "end": 4297612568, "name": "GJBaseGameLayer::enterDualMode", "pseudocode": "// \n// GJBaseGameLayer::enterDualMode from 0x100285cac to 0x100285d18 (108 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::loadFromCheckpoint @ 0x10014a498\n// \n// This function is hookable on this platform (idp: arm, 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 11:01:57 +0000\n// \n\nvoid __fastcall GJBaseGameLayer::enterDualMode(__int64 a1, __int64 a2)\n{\n  __int64 v4; // x21\n  double *v5; // x0\n  __int64 v6; // [xsp+8h] [xbp-28h] BYREF\n\n  if ( a2 )\n  {\n    v4 = *(_QWORD *)(a1 + 3256);\n    v5 = (double *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 192LL))(a2);\n    sub_1000262F4(&v6, v5);\n    sub_10002630C((_QWORD *)(v4 + 2488), (double *)&v6);\n    *(_QWORD *)(*(_QWORD *)(a1 + 3256) + 2592LL) = a2;\n    *(_QWORD *)(a1 + 976) = a2;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::enterDualMode from 0x100285cac to 0x100285d18 (108 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::loadFromCheckpoint @ 0x10014a498\n; \n; This function is hookable on this platform (idp: arm, 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 11:01:57 +0000\n; \nCBZ             X1, locret_100285D14                                   ; +0x0, 0x100285cac\nSUB             SP, SP, #0x40                                          ; +0x4, 0x100285cb0\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x8, 0x100285cb4\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0xc, 0x100285cb8\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x10, 0x100285cbc\nADD             X29, SP, #0x30                                         ; +0x14, 0x100285cc0\nMOV             X19, X1                                                ; +0x18, 0x100285cc4\nMOV             X20, X0                                                ; +0x1c, 0x100285cc8\nLDR             X21, [X0,#0xCB8]                                       ; +0x20, 0x100285ccc\nLDR             X8, [X1]                                               ; +0x24, 0x100285cd0\nLDR             X8, [X8,#0xC0]                                         ; +0x28, 0x100285cd4\nMOV             X0, X1                                                 ; +0x2c, 0x100285cd8\nBLR             X8                                                     ; +0x30, 0x100285cdc\nMOV             X1, X0                                                 ; +0x34, 0x100285ce0\nADD             X0, SP, #0x30+var_28                                   ; +0x38, 0x100285ce4\nBL              sub_1000262F4                                          ; +0x3c, 0x100285ce8\nADD             X0, X21, #0x9B8                                        ; +0x40, 0x100285cec\nADD             X1, SP, #0x30+var_28                                   ; +0x44, 0x100285cf0\nBL              sub_10002630C                                          ; +0x48, 0x100285cf4\nLDR             X8, [X20,#0xCB8]                                       ; +0x4c, 0x100285cf8\nSTR             X19, [X8,#0xA20]                                       ; +0x50, 0x100285cfc\nSTR             X19, [X20,#0x3D0]                                      ; +0x54, 0x100285d00\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x58, 0x100285d04\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x5c, 0x100285d08\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x60, 0x100285d0c\nADD             SP, SP, #0x40 ; '@'                                    ; +0x64, 0x100285d10\nRET                                                                    ; +0x68, 0x100285d14", "xrefs": ["PlayLayer::loadFromCheckpoint @ 0x10014a498"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}