{"type": "func", "start": 5372908528, "end": 5372908655, "name": "LevelEditorLayer::updateKeyframeObjects", "pseudocode": "// \n// LevelEditorLayer::updateKeyframeObjects from 0x1404013f0 to 0x14040146f (127 bytes)\n// \n// 5 xrefs:\n// > EditorUI::onPause @ 0x1401acd5e\n// > LevelEditorLayer::updateVisibility @ 0x1403f73ce\n// > <???> @ 0x1408c6be4\n// > <???> @ 0x1408c6bf4\n// > <???> @ 0x140925b2c\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\nvoid __fastcall LevelEditorLayer::updateKeyframeObjects(__int64 a1)\n{\n  unsigned int i; // edi\n  struct cocos2d::CCObject *v3; // rax\n\n  if ( !*(_DWORD *)(a1 + 2204) )\n  {\n    for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 14752)); ++i )\n    {\n      v3 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 14752), i);\n      if ( *((_BYTE *)v3 + 1897) )\n      {\n        *((_BYTE *)v3 + 1897) = 0;\n        KeyframeGameObject::updateShadowObjects(v3, a1, *(_QWORD *)(a1 + 14904));\n      }\n    }\n  }\n}", "assembly": "; \n; LevelEditorLayer::updateKeyframeObjects from 0x1404013f0 to 0x14040146f (127 bytes)\n; \n; 5 xrefs:\n; > EditorUI::onPause @ 0x1401acd5e\n; > LevelEditorLayer::updateVisibility @ 0x1403f73ce\n; > <???> @ 0x1408c6be4\n; > <???> @ 0x1408c6bf4\n; > <???> @ 0x140925b2c\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    rbx                                                            ; +0x0, 0x1404013f0\nsub     rsp, 20h                                                       ; +0x2, 0x1404013f2\ncmp     dword ptr [rcx+89Ch], 0                                        ; +0x6, 0x1404013f6\nmov     rbx, rcx                                                       ; +0xd, 0x1404013fd\njnz     short loc_140401469                                            ; +0x10, 0x140401400\nmov     rcx, [rcx+39A0h]                                               ; +0x12, 0x140401402\nmov     [rsp+28h+arg_0], rdi                                           ; +0x19, 0x140401409\nxor     edi, edi                                                       ; +0x1e, 0x14040140e\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x20, 0x140401410\ntest    eax, eax                                                       ; +0x26, 0x140401416\njz      short loc_140401464                                            ; +0x28, 0x140401418\nnop     word ptr [rax+rax+00h]                                         ; +0x2a, 0x14040141a\nmov     rcx, [rbx+39A0h]                                               ; +0x30, 0x140401420\nmov     edx, edi                                                       ; +0x37, 0x140401427\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x39, 0x140401429\ncmp     byte ptr [rax+769h], 0                                         ; +0x3f, 0x14040142f\njz      short loc_140401451                                            ; +0x46, 0x140401436\nmov     byte ptr [rax+769h], 0                                         ; +0x48, 0x140401438\nmov     rdx, rbx                                                       ; +0x4f, 0x14040143f\nmov     r8, [rbx+3A38h]                                                ; +0x52, 0x140401442\nmov     rcx, rax                                                       ; +0x59, 0x140401449\ncall    KeyframeGameObject__updateShadowObjects                        ; +0x5c, 0x14040144c\nmov     rcx, [rbx+39A0h]                                               ; +0x61, 0x140401451\ninc     edi                                                            ; +0x68, 0x140401458\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6a, 0x14040145a\ncmp     edi, eax                                                       ; +0x70, 0x140401460\njb      short loc_140401420                                            ; +0x72, 0x140401462\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x74, 0x140401464\nadd     rsp, 20h                                                       ; +0x79, 0x140401469\npop     rbx                                                            ; +0x7d, 0x14040146d\nretn                                                                   ; +0x7e, 0x14040146e", "xrefs": ["EditorUI::onPause @ 0x1401acd5e", "LevelEditorLayer::updateVisibility @ 0x1403f73ce", "<???> @ 0x1408c6be4", "<???> @ 0x1408c6bf4", "<???> @ 0x140925b2c"], "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"}