{"type": "func", "start": 4676988, "end": 4677034, "name": "GJBaseGameLayer::createNewKeyframeAnim", "pseudocode": "// \n// GJBaseGameLayer::createNewKeyframeAnim from 0x475d7c to 0x475daa (46 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::duplicateKeyframeAnimation @ 0x37131c\n// > EditorUI::createNewKeyframeAnim @ 0x3a35ea\n// > EditorUI::onCreateObject @ 0x3a3d30\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 *GJBaseGameLayer::createNewKeyframeAnim(GJBaseGameLayer *a1)\n{\n  cocos2d::CCArray *v2; // r6\n\n  v2 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1);\n  v2->setTag(v2, 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 0x475d7c to 0x475daa (46 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::duplicateKeyframeAnimation @ 0x37131c\n; > EditorUI::createNewKeyframeAnim @ 0x3a35ea\n; > EditorUI::onCreateObject @ 0x3a3d30\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            {R4-R6,LR}                                             ; +0x0, 0x475d7c\nMOV             R4, R0                                                 ; +0x2, 0x475d7e\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x4, 0x475d80\nMOVW            R5, #0x2C7C                                            ; +0x8, 0x475d84\nLDR             R1, [R4,R5]                                            ; +0xc, 0x475d88\nLDR             R3, [R0]                                               ; +0xe, 0x475d8a\nMOV             R6, R0                                                 ; +0x10, 0x475d8c\nLDR             R3, [R3,#0x24]                                         ; +0x12, 0x475d8e\nBLX             R3                                                     ; +0x14, 0x475d90\nMOVW            R3, #0x2C78                                            ; +0x16, 0x475d92\nLDR             R0, [R4,R3]; this                                      ; +0x1a, 0x475d96\nMOV             R1, R6; cocos2d::CCObject *                            ; +0x1c, 0x475d98\nLDR             R2, [R4,R5]; int                                       ; +0x1e, 0x475d9a\nBL              _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectEi; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,int) ; +0x20, 0x475d9c\nLDR             R3, [R4,R5]                                            ; +0x24, 0x475da0\nMOV             R0, R6                                                 ; +0x26, 0x475da2\nADDS            R3, #1                                                 ; +0x28, 0x475da4\nSTR             R3, [R4,R5]                                            ; +0x2a, 0x475da6\nPOP             {R4-R6,PC}                                             ; +0x2c, 0x475da8", "xrefs": ["LevelEditorLayer::duplicateKeyframeAnimation @ 0x37131c", "EditorUI::createNewKeyframeAnim @ 0x3a35ea", "EditorUI::onCreateObject @ 0x3a3d30"], "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"}