{"type": "func", "start": 6852616, "end": 6852680, "name": "EditorUI::addSnapPosition", "pseudocode": "// \n// EditorUI::addSnapPosition from 0x689008 to 0x689048 (64 bytes)\n// \n// 2 xrefs:\n// > EditorUI::onCreateObject @ 0x6bfe44\n// > <???> @ 0x33468\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\nvoid EditorUI::addSnapPosition(EditorUI *a1, cocos2d::CCPoint a2)\n{\n  const cocos2d::CCPoint *v2; // x1\n  cocos2d::CCNode *v4; // x19\n  const cocos2d::CCPoint *v5; // [xsp+28h] [xbp+28h]\n\n  v5 = v2;\n  v4 = cocos2d::CCNode::create();\n  v4->setPosition(v4, v5);\n  cocos2d::CCArray::addObject(a1->m_snapPositions, v4);\n}", "assembly": "; \n; EditorUI::addSnapPosition from 0x689008 to 0x689048 (64 bytes)\n; \n; 2 xrefs:\n; > EditorUI::onCreateObject @ 0x6bfe44\n; > <???> @ 0x33468\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             X29, X30, [SP,#var_30]!                                ; +0x0, 0x689008\nMOV             X29, SP                                                ; +0x4, 0x68900c\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x689010\nMOV             X20, X0                                                ; +0xc, 0x689014\nSTR             X1, [X29,#0x30+var_8]                                  ; +0x10, 0x689018\nBL              _ZN7cocos2d6CCNode6createEv; cocos2d::CCNode::create(void) ; +0x14, 0x68901c\nLDR             X2, [X0]                                               ; +0x18, 0x689020\nMOV             X19, X0                                                ; +0x1c, 0x689024\nLDR             X1, [X29,#0x30+var_8]                                  ; +0x20, 0x689028\nLDR             X2, [X2,#0xB8]                                         ; +0x24, 0x68902c\nBLR             X2                                                     ; +0x28, 0x689030\nLDR             X0, [X20,#0x328]; this                                 ; +0x2c, 0x689034\nMOV             X1, X19; cocos2d::CCObject *                           ; +0x30, 0x689038\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x34, 0x68903c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x38, 0x689040\nB               _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x3c, 0x689044", "xrefs": ["EditorUI::onCreateObject @ 0x6bfe44", "<???> @ 0x33468"], "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"}