{"type": "func", "start": 4297684228, "end": 4297684312, "name": "GJBaseGameLayer::createNewKeyframeAnim", "pseudocode": "// \n// GJBaseGameLayer::createNewKeyframeAnim from 0x100297504 to 0x100297558 (84 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::duplicateKeyframeAnimation @ 0x100406368\n// > EditorUI::onCreateObject @ 0x1004773dc\n// > sub_10047AA1C @ 0x10047ab70\n// \n// This function is hookable on this platform (idp: arm, 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:02:06 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::createNewKeyframeAnim(__int64 a1)\n{\n  __int64 v2; // x20\n\n  v2 = sub_1002E736C(a1);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 72LL))(v2, *(unsigned int *)(a1 + 13280));\n  cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 13272), v2, *(int *)(a1 + 13280));\n  ++*(_DWORD *)(a1 + 13280);\n  return v2;\n}", "assembly": "; \n; GJBaseGameLayer::createNewKeyframeAnim from 0x100297504 to 0x100297558 (84 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::duplicateKeyframeAnimation @ 0x100406368\n; > EditorUI::onCreateObject @ 0x1004773dc\n; > sub_10047AA1C @ 0x10047ab70\n; \n; This function is hookable on this platform (idp: arm, 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:02:06 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100297504\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100297508\nADD             X29, SP, #0x10                                         ; +0x8, 0x10029750c\nMOV             X19, X0                                                ; +0xc, 0x100297510\nBL              sub_1002E736C                                          ; +0x10, 0x100297514\nMOV             X20, X0                                                ; +0x14, 0x100297518\nLDR             W1, [X19,#0x33E0]                                      ; +0x18, 0x10029751c\nLDR             X8, [X0]                                               ; +0x1c, 0x100297520\nLDR             X8, [X8,#0x48]                                         ; +0x20, 0x100297524\nBLR             X8                                                     ; +0x24, 0x100297528\nLDR             X0, [X19,#0x33D8]                                      ; +0x28, 0x10029752c\nLDRSW           X2, [X19,#0x33E0]                                      ; +0x2c, 0x100297530\nMOV             X1, X20                                                ; +0x30, 0x100297534\nBL              cocos2d__CCDictionary__setObject_1                     ; +0x34, 0x100297538\nLDR             W8, [X19,#0x33E0]                                      ; +0x38, 0x10029753c\nADD             W8, W8, #1                                             ; +0x3c, 0x100297540\nSTR             W8, [X19,#0x33E0]                                      ; +0x40, 0x100297544\nMOV             X0, X20                                                ; +0x44, 0x100297548\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x48, 0x10029754c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x4c, 0x100297550\nRET                                                                    ; +0x50, 0x100297554", "xrefs": ["LevelEditorLayer::duplicateKeyframeAnimation @ 0x100406368", "EditorUI::onCreateObject @ 0x1004773dc", "sub_10047AA1C @ 0x10047ab70"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}