{"type": "func", "start": 5372907520, "end": 5372907654, "name": "LevelEditorLayer::updateAnimateOnTriggerObjects", "pseudocode": "// \n// LevelEditorLayer::updateAnimateOnTriggerObjects from 0x140401000 to 0x140401086 (134 bytes)\n// \n// 5 xrefs:\n// > LevelEditorLayer::onPlaytest @ 0x1403fec53\n// > LevelEditorLayer::onStopPlaytest @ 0x1404004f2\n// > <???> @ 0x1408c6b1c\n// > <???> @ 0x1408c6b74\n// > <???> @ 0x140925a84\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__int64 __fastcall LevelEditorLayer::updateAnimateOnTriggerObjects(__int64 a1, unsigned __int8 a2)\n{\n  __int64 result; // rax\n  unsigned int *v4; // rbx\n  _QWORD *v5; // rbx\n  _QWORD *i; // rsi\n  __int64 v7; // rdi\n\n  result = *(_QWORD *)(a1 + 3536);\n  if ( result )\n  {\n    v4 = *(unsigned int **)(result + 56);\n    result = *v4;\n    if ( (_DWORD)result )\n    {\n      v5 = *((_QWORD **)v4 + 2);\n      for ( i = &v5[result - 1]; v5 <= i; ++v5 )\n      {\n        v7 = *v5;\n        if ( !*v5 )\n          break;\n        result = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v7 + 1576LL))(*v5);\n        if ( (_BYTE)result )\n          result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 1704LL))(v7, a2);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; LevelEditorLayer::updateAnimateOnTriggerObjects from 0x140401000 to 0x140401086 (134 bytes)\n; \n; 5 xrefs:\n; > LevelEditorLayer::onPlaytest @ 0x1403fec53\n; > LevelEditorLayer::onStopPlaytest @ 0x1404004f2\n; > <???> @ 0x1408c6b1c\n; > <???> @ 0x1408c6b74\n; > <???> @ 0x140925a84\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; \npush    rbp                                                            ; +0x0, 0x140401000\nsub     rsp, 20h                                                       ; +0x2, 0x140401002\nmov     rax, [rcx+0DD0h]                                               ; +0x6, 0x140401006\nmovzx   ebp, dl                                                        ; +0xd, 0x14040100d\ntest    rax, rax                                                       ; +0x10, 0x140401010\njz      short loc_140401080                                            ; +0x13, 0x140401013\nmov     [rsp+28h+arg_0], rbx                                           ; +0x15, 0x140401015\nmov     rbx, [rax+38h]                                                 ; +0x1a, 0x14040101a\nmov     eax, [rbx]                                                     ; +0x1e, 0x14040101e\ntest    eax, eax                                                       ; +0x20, 0x140401020\njz      short loc_14040107B                                            ; +0x22, 0x140401022\nmov     rbx, [rbx+10h]                                                 ; +0x24, 0x140401024\nmov     [rsp+28h+arg_8], rsi                                           ; +0x28, 0x140401028\nlea     rsi, [rax-1]                                                   ; +0x2d, 0x14040102d\nlea     rsi, [rbx+rsi*8]                                               ; +0x31, 0x140401031\ncmp     rbx, rsi                                                       ; +0x35, 0x140401035\nja      short loc_140401076                                            ; +0x38, 0x140401038\nmov     [rsp+28h+arg_10], rdi                                          ; +0x3a, 0x14040103a\nnop                                                                    ; +0x3f, 0x14040103f\nmov     rdi, [rbx]                                                     ; +0x40, 0x140401040\ntest    rdi, rdi                                                       ; +0x43, 0x140401043\njz      short loc_140401071                                            ; +0x46, 0x140401046\nmov     rax, [rdi]                                                     ; +0x48, 0x140401048\nmov     rcx, rdi                                                       ; +0x4b, 0x14040104b\ncall    qword ptr [rax+628h]                                           ; +0x4e, 0x14040104e\ntest    al, al                                                         ; +0x54, 0x140401054\njz      short loc_140401068                                            ; +0x56, 0x140401056\nmov     rax, [rdi]                                                     ; +0x58, 0x140401058\nmovzx   edx, bpl                                                       ; +0x5b, 0x14040105b\nmov     rcx, rdi                                                       ; +0x5f, 0x14040105f\ncall    qword ptr [rax+6A8h]                                           ; +0x62, 0x140401062\nadd     rbx, 8                                                         ; +0x68, 0x140401068\ncmp     rbx, rsi                                                       ; +0x6c, 0x14040106c\njbe     short loc_140401040                                            ; +0x6f, 0x14040106f\nmov     rdi, [rsp+28h+arg_10]                                          ; +0x71, 0x140401071\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x76, 0x140401076\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x7b, 0x14040107b\nadd     rsp, 20h                                                       ; +0x80, 0x140401080\npop     rbp                                                            ; +0x84, 0x140401084\nretn                                                                   ; +0x85, 0x140401085", "xrefs": ["LevelEditorLayer::onPlaytest @ 0x1403fec53", "LevelEditorLayer::onStopPlaytest @ 0x1404004f2", "<???> @ 0x1408c6b1c", "<???> @ 0x1408c6b74", "<???> @ 0x140925a84"], "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"}