{"type": "func", "start": 4297044760, "end": 4297044844, "name": "GJBaseGameLayer::createNewKeyframeAnim", "pseudocode": "// \n// GJBaseGameLayer::createNewKeyframeAnim from 0x1001fb318 to 0x1001fb36c (84 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::duplicateKeyframeAnimation @ 0x100364294\n// > EditorUI::onCreateObject @ 0x1003eb600\n// > EditorUI::createNewKeyframeAnim @ 0x1003f3628\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\ncocos2d::CCArray *__fastcall GJBaseGameLayer::createNewKeyframeAnim(GJBaseGameLayer *a1)\n{\n  cocos2d::CCArray *v2; // x20\n\n  v2 = (cocos2d::CCArray *)sub_10024A15C(a1);\n  ((void (__fastcall *)(cocos2d::CCArray *, _QWORD))v2->setTag)(v2, (unsigned int)a1->m_keyframeGroup);\n  cocos2d::CCDictionary::setObject(a1->m_keyframeGroups, v2, a1->m_keyframeGroup);\n  ++a1->m_keyframeGroup;\n  return v2;\n}", "assembly": "; \n; GJBaseGameLayer::createNewKeyframeAnim from 0x1001fb318 to 0x1001fb36c (84 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::duplicateKeyframeAnimation @ 0x100364294\n; > EditorUI::onCreateObject @ 0x1003eb600\n; > EditorUI::createNewKeyframeAnim @ 0x1003f3628\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001fb318\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001fb31c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001fb320\nMOV             X19, X0                                                ; +0xc, 0x1001fb324\nBL              sub_10024A15C                                          ; +0x10, 0x1001fb328\nMOV             X20, X0                                                ; +0x14, 0x1001fb32c\nLDR             W1, [X19,#0x3358]                                      ; +0x18, 0x1001fb330\nLDR             X8, [X0]                                               ; +0x1c, 0x1001fb334\nLDR             X8, [X8,#0x48]                                         ; +0x20, 0x1001fb338\nBLR             X8                                                     ; +0x24, 0x1001fb33c\nLDR             X0, [X19,#0x3350]                                      ; +0x28, 0x1001fb340\nLDRSW           X2, [X19,#0x3358]                                      ; +0x2c, 0x1001fb344\nMOV             X1, X20                                                ; +0x30, 0x1001fb348\nBL              cocos2d__CCDictionary__setObject                       ; +0x34, 0x1001fb34c\nLDR             W8, [X19,#0x3358]                                      ; +0x38, 0x1001fb350\nADD             W8, W8, #1                                             ; +0x3c, 0x1001fb354\nSTR             W8, [X19,#0x3358]                                      ; +0x40, 0x1001fb358\nMOV             X0, X20                                                ; +0x44, 0x1001fb35c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x48, 0x1001fb360\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x4c, 0x1001fb364\nRET                                                                    ; +0x50, 0x1001fb368", "xrefs": ["LevelEditorLayer::duplicateKeyframeAnimation @ 0x100364294", "EditorUI::onCreateObject @ 0x1003eb600", "EditorUI::createNewKeyframeAnim @ 0x1003f3628"], "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"}