{"type": "func", "start": 5372905248, "end": 5372905644, "name": "LevelEditorLayer::checkpointActivated", "pseudocode": "// \n// LevelEditorLayer::checkpointActivated from 0x140400720 to 0x1404008ac (396 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14078b330\n// > <???> @ 0x1409259dc\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 11:31:54 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall LevelEditorLayer::checkpointActivated(__int64 a1, __int64 a2)\n{\n  __int64 v4; // rdx\n  __int64 v5; // rdx\n\n  v4 = *(unsigned int *)(a2 + 1864);\n  if ( (int)v4 > 0 )\n    (*(void (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)(a1 + 408) + 8LL))(a1 + 408, v4, 0);\n  v5 = *(unsigned int *)(a2 + 1480);\n  if ( (int)v5 > 0 )\n    (*(void (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)(a1 + 408) + 8LL))(a1 + 408, v5, 0);\n  GJBaseGameLayer::gameEventTriggered(a1, 0x3Cu, 0, 0);\n  GJBaseGameLayer::checkpointActivated(a1, a2);\n}", "assembly": "; \n; LevelEditorLayer::checkpointActivated from 0x140400720 to 0x1404008ac (396 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14078b330\n; > <???> @ 0x1409259dc\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 11:31:54 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140400720\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140400725\npush    rdi                                                            ; +0xa, 0x14040072a\nsub     rsp, 60h                                                       ; +0xb, 0x14040072b\nmov     rbx, rdx                                                       ; +0xf, 0x14040072f\nmov     rdi, rcx                                                       ; +0x12, 0x140400732\nmov     edx, [rdx+748h]                                                ; +0x15, 0x140400735\nxor     esi, esi                                                       ; +0x1b, 0x14040073b\ntest    edx, edx                                                       ; +0x1d, 0x14040073d\njle     loc_1404007DB                                                  ; +0x1f, 0x14040073f\nxorps   xmm0, xmm0                                                     ; +0x25, 0x140400745\nmovdqu  xmmword ptr [rsp+68h+Block], xmm0                              ; +0x28, 0x140400748\nmov     [rsp+68h+var_18], rsi                                          ; +0x2e, 0x14040074e\nadd     rcx, 198h                                                      ; +0x33, 0x140400753\nmov     rax, [rcx]                                                     ; +0x3a, 0x14040075a\nmov     r9, [rax+8]                                                    ; +0x3d, 0x14040075d\nmov     eax, [rbx+698h]                                                ; +0x41, 0x140400761\nmov     [rsp+68h+var_38], eax                                          ; +0x47, 0x140400767\nmov     eax, [rbx+39Ch]                                                ; +0x4b, 0x14040076b\nmov     [rsp+68h+var_40], eax                                          ; +0x51, 0x140400771\nlea     rax, [rsp+68h+Block]                                           ; +0x55, 0x140400775\nmov     [rsp+68h+Reserved], rax                                        ; +0x5a, 0x14040077a\nxorps   xmm3, xmm3                                                     ; +0x5f, 0x14040077f\nxor     r8d, r8d                                                       ; +0x62, 0x140400782\ncall    r9                                                             ; +0x65, 0x140400785\nnop                                                                    ; +0x68, 0x140400788\nmov     rcx, [rsp+68h+Block]; Block                                    ; +0x69, 0x140400789\ntest    rcx, rcx                                                       ; +0x6e, 0x14040078e\njz      short loc_1404007DB                                            ; +0x71, 0x140400791\nmov     rdx, [rsp+68h+var_18]                                          ; +0x73, 0x140400793\nsub     rdx, rcx                                                       ; +0x78, 0x140400798\nand     rdx, 0FFFFFFFFFFFFFFFCh                                        ; +0x7b, 0x14040079b\nmov     rax, rcx                                                       ; +0x7f, 0x14040079f\ncmp     rdx, 1000h                                                     ; +0x82, 0x1404007a2\njb      short loc_1404007D6                                            ; +0x89, 0x1404007a9\nadd     rdx, 27h ; '''                                                 ; +0x8b, 0x1404007ab\nmov     rcx, [rcx-8]                                                   ; +0x8f, 0x1404007af\nsub     rax, rcx                                                       ; +0x93, 0x1404007b3\nsub     rax, 8                                                         ; +0x96, 0x1404007b6\ncmp     rax, 1Fh                                                       ; +0x9a, 0x1404007ba\njbe     short loc_1404007D6                                            ; +0x9e, 0x1404007be\nmov     [rsp+68h+Reserved], rsi; Reserved                              ; +0xa0, 0x1404007c0\nxor     r9d, r9d; LineNo                                               ; +0xa5, 0x1404007c5\nxor     r8d, r8d; FileName                                             ; +0xa8, 0x1404007c8\nxor     edx, edx; FunctionName                                         ; +0xab, 0x1404007cb\nxor     ecx, ecx; Expression                                           ; +0xad, 0x1404007cd\ncall    cs:_invoke_watson                                              ; +0xaf, 0x1404007cf\nalign 2                                                                ; +0xb5, 0x1404007d5\ncall    j_j_free                                                       ; +0xb6, 0x1404007d6\nmov     edx, [rbx+5C8h]                                                ; +0xbb, 0x1404007db\ntest    edx, edx                                                       ; +0xc1, 0x1404007e1\njle     loc_14040087F                                                  ; +0xc3, 0x1404007e3\nxorps   xmm0, xmm0                                                     ; +0xc9, 0x1404007e9\nmovdqu  xmmword ptr [rsp+68h+Block], xmm0                              ; +0xcc, 0x1404007ec\nmov     [rsp+68h+var_18], rsi                                          ; +0xd2, 0x1404007f2\nlea     rcx, [rdi+198h]                                                ; +0xd7, 0x1404007f7\nmov     rax, [rcx]                                                     ; +0xde, 0x1404007fe\nmov     r9, [rax+8]                                                    ; +0xe1, 0x140400801\nmov     eax, [rbx+698h]                                                ; +0xe5, 0x140400805\nmov     [rsp+68h+var_38], eax                                          ; +0xeb, 0x14040080b\nmov     eax, [rbx+39Ch]                                                ; +0xef, 0x14040080f\nmov     [rsp+68h+var_40], eax                                          ; +0xf5, 0x140400815\nlea     rax, [rsp+68h+Block]                                           ; +0xf9, 0x140400819\nmov     [rsp+68h+Reserved], rax                                        ; +0xfe, 0x14040081e\nxorps   xmm3, xmm3                                                     ; +0x103, 0x140400823\nxor     r8d, r8d                                                       ; +0x106, 0x140400826\ncall    r9                                                             ; +0x109, 0x140400829\nnop                                                                    ; +0x10c, 0x14040082c\nmov     rcx, [rsp+68h+Block]; Block                                    ; +0x10d, 0x14040082d\ntest    rcx, rcx                                                       ; +0x112, 0x140400832\njz      short loc_14040087F                                            ; +0x115, 0x140400835\nmov     rdx, [rsp+68h+var_18]                                          ; +0x117, 0x140400837\nsub     rdx, rcx                                                       ; +0x11c, 0x14040083c\nand     rdx, 0FFFFFFFFFFFFFFFCh                                        ; +0x11f, 0x14040083f\nmov     rax, rcx                                                       ; +0x123, 0x140400843\ncmp     rdx, 1000h                                                     ; +0x126, 0x140400846\njb      short loc_14040087A                                            ; +0x12d, 0x14040084d\nadd     rdx, 27h ; '''                                                 ; +0x12f, 0x14040084f\nmov     rcx, [rcx-8]                                                   ; +0x133, 0x140400853\nsub     rax, rcx                                                       ; +0x137, 0x140400857\nsub     rax, 8                                                         ; +0x13a, 0x14040085a\ncmp     rax, 1Fh                                                       ; +0x13e, 0x14040085e\njbe     short loc_14040087A                                            ; +0x142, 0x140400862\nmov     [rsp+68h+Reserved], rsi; Reserved                              ; +0x144, 0x140400864\nxor     r9d, r9d; LineNo                                               ; +0x149, 0x140400869\nxor     r8d, r8d; FileName                                             ; +0x14c, 0x14040086c\nxor     edx, edx; FunctionName                                         ; +0x14f, 0x14040086f\nxor     ecx, ecx; Expression                                           ; +0x151, 0x140400871\ncall    cs:_invoke_watson                                              ; +0x153, 0x140400873\nalign 2                                                                ; +0x159, 0x140400879\ncall    j_j_free                                                       ; +0x15a, 0x14040087a\nxor     r9d, r9d                                                       ; +0x15f, 0x14040087f\nxor     r8d, r8d                                                       ; +0x162, 0x140400882\nmov     edx, 3Ch ; '<'                                                 ; +0x165, 0x140400885\nmov     rcx, rdi                                                       ; +0x16a, 0x14040088a\ncall    GJBaseGameLayer__gameEventTriggered                            ; +0x16d, 0x14040088d\nmov     rdx, rbx                                                       ; +0x172, 0x140400892\nmov     rcx, rdi                                                       ; +0x175, 0x140400895\nmov     rbx, [rsp+68h+arg_0]                                           ; +0x178, 0x140400898\nmov     rsi, [rsp+68h+arg_8]                                           ; +0x17d, 0x14040089d\nadd     rsp, 60h                                                       ; +0x182, 0x1404008a2\npop     rdi                                                            ; +0x186, 0x1404008a6\njmp     GJBaseGameLayer__checkpointActivated                           ; +0x187, 0x1404008a7", "xrefs": ["<???> @ 0x14078b330", "<???> @ 0x1409259dc"], "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"}