{"type": "func", "start": 4296186352, "end": 4296186421, "name": "GJBaseGameLayer::createNewKeyframeAnim", "pseudocode": "// \n// GJBaseGameLayer::createNewKeyframeAnim from 0x1001299f0 to 0x100129a35 (69 bytes)\n// \n// 3 xrefs:\n// > EditorUI::onCreateObject @ 0x10001131c\n// > EditorUI::createNewKeyframeAnim @ 0x100016758\n// > LevelEditorLayer::duplicateKeyframeAnimation @ 0x1000c8445\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 12:24:43 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::createNewKeyframeAnim(__int64 a1)\n{\n  __int64 v1; // r14\n\n  v1 = sub_1007FE900(a1);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v1 + 72LL))(v1, *(unsigned int *)(a1 + 13280));\n  cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 13272), v1, *(int *)(a1 + 13280));\n  ++*(_DWORD *)(a1 + 13280);\n  return v1;\n}", "assembly": "; \n; GJBaseGameLayer::createNewKeyframeAnim from 0x1001299f0 to 0x100129a35 (69 bytes)\n; \n; 3 xrefs:\n; > EditorUI::onCreateObject @ 0x10001131c\n; > EditorUI::createNewKeyframeAnim @ 0x100016758\n; > LevelEditorLayer::duplicateKeyframeAnimation @ 0x1000c8445\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 12:24:43 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001299f0\nmov     rbp, rsp                                                       ; +0x1, 0x1001299f1\npush    r14                                                            ; +0x4, 0x1001299f4\npush    rbx                                                            ; +0x6, 0x1001299f6\nmov     rbx, rdi                                                       ; +0x7, 0x1001299f7\ncall    sub_1007FE900                                                  ; +0xa, 0x1001299fa\nmov     r14, rax                                                       ; +0xf, 0x1001299ff\nmov     esi, [rbx+33E0h]                                               ; +0x12, 0x100129a02\nmov     rax, [rax]                                                     ; +0x18, 0x100129a08\nmov     rdi, r14                                                       ; +0x1b, 0x100129a0b\ncall    qword ptr [rax+48h]                                            ; +0x1e, 0x100129a0e\nmov     rdi, [rbx+33D8h]                                               ; +0x21, 0x100129a11\nmovsxd  rdx, dword ptr [rbx+33E0h]                                     ; +0x28, 0x100129a18\nmov     rsi, r14                                                       ; +0x2f, 0x100129a1f\ncall    cocos2d__CCDictionary__setObject_1                             ; +0x32, 0x100129a22\ninc     dword ptr [rbx+33E0h]                                          ; +0x37, 0x100129a27\nmov     rax, r14                                                       ; +0x3d, 0x100129a2d\npop     rbx                                                            ; +0x40, 0x100129a30\npop     r14                                                            ; +0x41, 0x100129a31\npop     rbp                                                            ; +0x43, 0x100129a33\nretn                                                                   ; +0x44, 0x100129a34", "xrefs": ["EditorUI::onCreateObject @ 0x10001131c", "EditorUI::createNewKeyframeAnim @ 0x100016758", "LevelEditorLayer::duplicateKeyframeAnimation @ 0x1000c8445"], "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"}