{"type": "func", "start": 5371729056, "end": 5371729190, "name": "LevelEditorLayer::updateAnimateOnTriggerObjects", "pseudocode": "// \n// LevelEditorLayer::updateAnimateOnTriggerObjects from 0x1402e14a0 to 0x1402e1526 (134 bytes)\n// \n// 5 xrefs:\n// > LevelEditorLayer::onPlaytest @ 0x1402e005c\n// > LevelEditorLayer::onStopPlaytest @ 0x1402e0c2b\n// > <???> @ 0x14068ef24\n// > <???> @ 0x14068ef7c\n// > <???> @ 0x1406d3674\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 LevelEditorLayer::updateAnimateOnTriggerObjects(LevelEditorLayer *a1, bool a2)\n{\n  cocos2d::CCArray *m_objects; // rax\n  cocos2d::ccArray *data; // rbx\n  __int64 num; // rax\n  cocos2d::CCObject **arr; // rbx\n  cocos2d::CCObject **i; // rsi\n  cocos2d::CCObject *v8; // rdi\n\n  m_objects = a1->m_objects;\n  if ( m_objects )\n  {\n    data = m_objects->data;\n    num = data->num;\n    if ( (_DWORD)num )\n    {\n      arr = data->arr;\n      for ( i = &arr[num - 1]; arr <= i; ++arr )\n      {\n        v8 = *arr;\n        if ( !*arr )\n          break;\n        if ( v8->__vftable[21].canEncode(*arr) )\n          ((void (__fastcall *)(cocos2d::CCObject *, bool))v8->__vftable[23].update)(v8, a2);\n      }\n    }\n  }\n}", "assembly": "; \n; LevelEditorLayer::updateAnimateOnTriggerObjects from 0x1402e14a0 to 0x1402e1526 (134 bytes)\n; \n; 5 xrefs:\n; > LevelEditorLayer::onPlaytest @ 0x1402e005c\n; > LevelEditorLayer::onStopPlaytest @ 0x1402e0c2b\n; > <???> @ 0x14068ef24\n; > <???> @ 0x14068ef7c\n; > <???> @ 0x1406d3674\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\npush    rbp                                                            ; +0x0, 0x1402e14a0\nsub     rsp, 20h                                                       ; +0x2, 0x1402e14a2\nmov     rax, [rcx+0DB8h]                                               ; +0x6, 0x1402e14a6\nmovzx   ebp, dl                                                        ; +0xd, 0x1402e14ad\ntest    rax, rax                                                       ; +0x10, 0x1402e14b0\njz      short loc_1402E1520                                            ; +0x13, 0x1402e14b3\nmov     [rsp+28h+arg_0], rbx                                           ; +0x15, 0x1402e14b5\nmov     rbx, [rax+38h]                                                 ; +0x1a, 0x1402e14ba\nmov     eax, [rbx]                                                     ; +0x1e, 0x1402e14be\ntest    eax, eax                                                       ; +0x20, 0x1402e14c0\njz      short loc_1402E151B                                            ; +0x22, 0x1402e14c2\nmov     rbx, [rbx+10h]                                                 ; +0x24, 0x1402e14c4\nmov     [rsp+28h+arg_8], rsi                                           ; +0x28, 0x1402e14c8\nlea     rsi, [rax-1]                                                   ; +0x2d, 0x1402e14cd\nlea     rsi, [rbx+rsi*8]                                               ; +0x31, 0x1402e14d1\ncmp     rbx, rsi                                                       ; +0x35, 0x1402e14d5\nja      short loc_1402E1516                                            ; +0x38, 0x1402e14d8\nmov     [rsp+28h+arg_10], rdi                                          ; +0x3a, 0x1402e14da\nnop                                                                    ; +0x3f, 0x1402e14df\nmov     rdi, [rbx]                                                     ; +0x40, 0x1402e14e0\ntest    rdi, rdi                                                       ; +0x43, 0x1402e14e3\njz      short loc_1402E1511                                            ; +0x46, 0x1402e14e6\nmov     rax, [rdi]                                                     ; +0x48, 0x1402e14e8\nmov     rcx, rdi                                                       ; +0x4b, 0x1402e14eb\ncall    qword ptr [rax+618h]                                           ; +0x4e, 0x1402e14ee\ntest    al, al                                                         ; +0x54, 0x1402e14f4\njz      short loc_1402E1508                                            ; +0x56, 0x1402e14f6\nmov     rax, [rdi]                                                     ; +0x58, 0x1402e14f8\nmovzx   edx, bpl                                                       ; +0x5b, 0x1402e14fb\nmov     rcx, rdi                                                       ; +0x5f, 0x1402e14ff\ncall    qword ptr [rax+698h]                                           ; +0x62, 0x1402e1502\nadd     rbx, 8                                                         ; +0x68, 0x1402e1508\ncmp     rbx, rsi                                                       ; +0x6c, 0x1402e150c\njbe     short loc_1402E14E0                                            ; +0x6f, 0x1402e150f\nmov     rdi, [rsp+28h+arg_10]                                          ; +0x71, 0x1402e1511\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x76, 0x1402e1516\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x7b, 0x1402e151b\nadd     rsp, 20h                                                       ; +0x80, 0x1402e1520\npop     rbp                                                            ; +0x84, 0x1402e1524\nretn                                                                   ; +0x85, 0x1402e1525", "xrefs": ["LevelEditorLayer::onPlaytest @ 0x1402e005c", "LevelEditorLayer::onStopPlaytest @ 0x1402e0c2b", "<???> @ 0x14068ef24", "<???> @ 0x14068ef7c", "<???> @ 0x1406d3674"], "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"}