{"type": "func", "start": 5371727456, "end": 5371727661, "name": "LevelEditorLayer::checkpointActivated", "pseudocode": "// \n// LevelEditorLayer::checkpointActivated from 0x1402e0e60 to 0x1402e0f2d (205 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140586430\n// > <???> @ 0x1406d35cc\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\n// Hidden C++ exception states: #wind=1\nvoid LevelEditorLayer::checkpointActivated(LevelEditorLayer *a1, CheckpointGameObject *a2)\n{\n  __int64 m_targetGroupID; // rdx\n\n  m_targetGroupID = (unsigned int)a2->m_targetGroupID;\n  if ( (int)m_targetGroupID > 0 )\n    ((void (__fastcall *)(TriggerEffectDelegate *, __int64, _QWORD))a1->spawnGroup)(\n      &a1->TriggerEffectDelegate,\n      m_targetGroupID,\n      0);\n  GJBaseGameLayer::gameEventTriggered(a1, Checkpoint, 0, 0);\n  GJBaseGameLayer::checkpointActivated(a1, a2);\n}", "assembly": "; \n; LevelEditorLayer::checkpointActivated from 0x1402e0e60 to 0x1402e0f2d (205 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140586430\n; > <???> @ 0x1406d35cc\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1402e0e60\npush    rdi                                                            ; +0x5, 0x1402e0e65\nsub     rsp, 60h                                                       ; +0x6, 0x1402e0e66\nmov     rbx, rdx                                                       ; +0xa, 0x1402e0e6a\nmov     rdi, rcx                                                       ; +0xd, 0x1402e0e6d\nmov     edx, [rdx+5C8h]                                                ; +0x10, 0x1402e0e70\ntest    edx, edx                                                       ; +0x16, 0x1402e0e76\njle     loc_1402E0F06                                                  ; +0x18, 0x1402e0e78\nxorps   xmm0, xmm0                                                     ; +0x1e, 0x1402e0e7e\nmovdqu  xmmword ptr [rsp+68h+Block], xmm0                              ; +0x21, 0x1402e0e81\nmov     [rsp+68h+var_18], 0                                            ; +0x27, 0x1402e0e87\nadd     rcx, 198h                                                      ; +0x30, 0x1402e0e90\nmov     r9, [rcx]                                                      ; +0x37, 0x1402e0e97\nmov     eax, [rbx+698h]                                                ; +0x3a, 0x1402e0e9a\nmov     [rsp+68h+var_38], eax                                          ; +0x40, 0x1402e0ea0\nmov     eax, [rbx+39Ch]                                                ; +0x44, 0x1402e0ea4\nmov     [rsp+68h+var_40], eax                                          ; +0x4a, 0x1402e0eaa\nlea     rax, [rsp+68h+Block]                                           ; +0x4e, 0x1402e0eae\nmov     [rsp+68h+var_48], rax                                          ; +0x53, 0x1402e0eb3\nxorps   xmm3, xmm3                                                     ; +0x58, 0x1402e0eb8\nxor     r8d, r8d                                                       ; +0x5b, 0x1402e0ebb\ncall    qword ptr [r9+8]                                               ; +0x5e, 0x1402e0ebe\nnop                                                                    ; +0x62, 0x1402e0ec2\nmov     rcx, [rsp+68h+Block]; Block                                    ; +0x63, 0x1402e0ec3\ntest    rcx, rcx                                                       ; +0x68, 0x1402e0ec8\njz      short loc_1402E0F06                                            ; +0x6b, 0x1402e0ecb\nmov     rdx, [rsp+68h+var_18]                                          ; +0x6d, 0x1402e0ecd\nsub     rdx, rcx                                                       ; +0x72, 0x1402e0ed2\nand     rdx, 0FFFFFFFFFFFFFFFCh                                        ; +0x75, 0x1402e0ed5\nmov     rax, rcx                                                       ; +0x79, 0x1402e0ed9\ncmp     rdx, 1000h                                                     ; +0x7c, 0x1402e0edc\njb      short loc_1402E0F01                                            ; +0x83, 0x1402e0ee3\nadd     rdx, 27h ; '''                                                 ; +0x85, 0x1402e0ee5\nmov     rcx, [rcx-8]                                                   ; +0x89, 0x1402e0ee9\nsub     rax, rcx                                                       ; +0x8d, 0x1402e0eed\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x90, 0x1402e0ef0\ncmp     rax, 1Fh                                                       ; +0x94, 0x1402e0ef4\njbe     short loc_1402E0F01                                            ; +0x98, 0x1402e0ef8\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x9a, 0x1402e0efa\ndb 0CCh                                                                ; +0xa0, 0x1402e0f00\ncall    j_j_free                                                       ; +0xa1, 0x1402e0f01\nxor     r9d, r9d                                                       ; +0xa6, 0x1402e0f06\nxor     r8d, r8d                                                       ; +0xa9, 0x1402e0f09\nlea     edx, [r9+3Ch]                                                  ; +0xac, 0x1402e0f0c\nmov     rcx, rdi                                                       ; +0xb0, 0x1402e0f10\ncall    GJBaseGameLayer__gameEventTriggered                            ; +0xb3, 0x1402e0f13\nmov     rdx, rbx                                                       ; +0xb8, 0x1402e0f18\nmov     rcx, rdi                                                       ; +0xbb, 0x1402e0f1b\nmov     rbx, [rsp+68h+arg_0]                                           ; +0xbe, 0x1402e0f1e\nadd     rsp, 60h                                                       ; +0xc3, 0x1402e0f23\npop     rdi                                                            ; +0xc7, 0x1402e0f27\njmp     GJBaseGameLayer__checkpointActivated                           ; +0xc8, 0x1402e0f28", "xrefs": ["<???> @ 0x140586430", "<???> @ 0x1406d35cc"], "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"}