{"type": "func", "start": 6026020, "end": 6026164, "name": "CreateGuidelinesLayer::ccTouchEnded", "pseudocode": "// \n// CreateGuidelinesLayer::ccTouchEnded from 0x5bf324 to 0x5bf3b4 (144 bytes)\n// \n// 4 xrefs:\n// > `non-virtual thunk to'CreateGuidelinesLayer::ccTouchEnded @ 0x5bf3bc\n// > <???> @ 0x94818\n// > <???> @ 0x1146200\n// > <???> @ 0x1146910\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 CreateGuidelinesLayer::ccTouchEnded(CreateGuidelinesLayer *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)\n{\n  cocos2d::CCSprite *m_circleSprite; // x0\n  cocos2d::CCSprite_vtbl *v5; // x2\n  void (__fastcall *setColor)(cocos2d::CCSprite *__hidden, const cocos2d::ccColor3B *); // x2\n  _BYTE v7[8]; // [xsp+20h] [xbp+20h] BYREF\n\n  if ( a1->m_recording )\n  {\n    m_circleSprite = a1->m_circleSprite;\n    v5 = m_circleSprite->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v7[0] = -1;\n    v7[2] = 0;\n    setColor = v5->setColor;\n    v7[1] = -106;\n    setColor(m_circleSprite, (const cocos2d::ccColor3B *)v7);\n    a1->m_circleSprite->setScale(a1->m_circleSprite, 0.8);\n  }\n}", "assembly": "; \n; CreateGuidelinesLayer::ccTouchEnded from 0x5bf324 to 0x5bf3b4 (144 bytes)\n; \n; 4 xrefs:\n; > `non-virtual thunk to'CreateGuidelinesLayer::ccTouchEnded @ 0x5bf3bc\n; > <???> @ 0x94818\n; > <???> @ 0x1146200\n; > <???> @ 0x1146910\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, 0x5bf324\nMOV             X29, SP                                                ; +0x4, 0x5bf328\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x5bf32c\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x5bf330\nMOV             X20, X0                                                ; +0x10, 0x5bf334\nLDRB            W0, [X0,#0x2B4]                                        ; +0x14, 0x5bf338\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0x5bf33c\nLDR             X1, [X1]                                               ; +0x1c, 0x5bf340\nSTR             X1, [X29,#0x30+var_8]                                  ; +0x20, 0x5bf344\nCBZ             W0, loc_5BF390                                         ; +0x24, 0x5bf348\nLDR             X2, [X20,#0x2A8]                                       ; +0x28, 0x5bf34c\nMOV             W3, #0xFFFFFFFF                                        ; +0x2c, 0x5bf350\nADD             X1, X29, #0x30+var_10                                  ; +0x30, 0x5bf354\nMOV             X0, X2                                                 ; +0x34, 0x5bf358\nLDR             X2, [X2]                                               ; +0x38, 0x5bf35c\nSTRB            W3, [X29,#0x30+var_10]                                 ; +0x3c, 0x5bf360\nMOV             W3, #0xFFFFFF96                                        ; +0x40, 0x5bf364\nSTRB            WZR, [X29,#0x30+var_E]                                 ; +0x44, 0x5bf368\nLDR             X2, [X2,#0x3B0]                                        ; +0x48, 0x5bf36c\nSTRB            W3, [X29,#0x30+var_F]                                  ; +0x4c, 0x5bf370\nBLR             X2                                                     ; +0x50, 0x5bf374\nLDR             X1, [X20,#0x2A8]                                       ; +0x54, 0x5bf378\nLDR             S0, =0x3F4CCCCD                                        ; +0x58, 0x5bf37c\nMOV             X0, X1                                                 ; +0x5c, 0x5bf380\nLDR             X1, [X1]                                               ; +0x60, 0x5bf384\nLDR             X1, [X1,#0xA0]                                         ; +0x64, 0x5bf388\nBLR             X1                                                     ; +0x68, 0x5bf38c\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x6c, 0x5bf390\nLDR             X1, [X29,#0x30+var_8]                                  ; +0x70, 0x5bf394\nLDR             X0, [X19]                                              ; +0x74, 0x5bf398\nCMP             X1, X0                                                 ; +0x78, 0x5bf39c\nB.NE            loc_5BF3B0                                             ; +0x7c, 0x5bf3a0\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x80, 0x5bf3a4\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x84, 0x5bf3a8\nRET                                                                    ; +0x88, 0x5bf3ac\nBL              .__stack_chk_fail                                      ; +0x8c, 0x5bf3b0", "xrefs": ["`non-virtual thunk to'CreateGuidelinesLayer::ccTouchEnded @ 0x5bf3bc", "<???> @ 0x94818", "<???> @ 0x1146200", "<???> @ 0x1146910"], "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"}