{"type": "func", "start": 4295483156, "end": 4295483260, "name": "CreateGuidelinesLayer::ccTouchEnded", "pseudocode": "// \n// CreateGuidelinesLayer::ccTouchEnded from 0x10007df14 to 0x10007df7c (104 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x10077a700\n// > <???> @ 0x10077ae40\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 __fastcall CreateGuidelinesLayer::ccTouchEnded(\n        CreateGuidelinesLayer *a1,\n        cocos2d::CCTouch *a2,\n        cocos2d::CCEvent *a3)\n{\n  __int64 v3; // x29\n  __int64 v4; // x30\n  cocos2d::CCSprite *m_circleSprite; // x0\n  __int16 v7; // [xsp+Ch] [xbp-24h] BYREF\n  char v8; // [xsp+Eh] [xbp-22h]\n  __int64 v9; // [xsp+20h] [xbp-10h]\n  __int64 v10; // [xsp+28h] [xbp-8h]\n\n  if ( a1->m_recording )\n  {\n    v9 = v3;\n    v10 = v4;\n    m_circleSprite = a1->m_circleSprite;\n    v8 = 0;\n    v7 = -26881;\n    ((void (__fastcall *)(cocos2d::CCSprite *, __int16 *, cocos2d::CCEvent *))m_circleSprite->setColor)(\n      m_circleSprite,\n      &v7,\n      a3);\n    ((void (__fastcall *)(cocos2d::CCSprite *, float))a1->m_circleSprite->setScale)(a1->m_circleSprite, 0.8);\n  }\n}", "assembly": "; \n; CreateGuidelinesLayer::ccTouchEnded from 0x10007df14 to 0x10007df7c (104 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x10077a700\n; > <???> @ 0x10077ae40\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\nLDRB            W8, [X0,#0x2B4]                                        ; +0x0, 0x10007df14\nCMP             W8, #1                                                 ; +0x4, 0x10007df18\nB.NE            locret_10007DF78                                       ; +0x8, 0x10007df1c\nSUB             SP, SP, #0x30 ; '0'                                    ; +0xc, 0x10007df20\nSTP             X20, X19, [SP,#0x30+var_20]                            ; +0x10, 0x10007df24\nSTP             X29, X30, [SP,#0x30+var_10]                            ; +0x14, 0x10007df28\nADD             X29, SP, #0x30+var_10                                  ; +0x18, 0x10007df2c\nMOV             X19, X0                                                ; +0x1c, 0x10007df30\nLDR             X0, [X0,#0x2A8]                                        ; +0x20, 0x10007df34\nSTRB            WZR, [SP,#0x30+var_22]                                 ; +0x24, 0x10007df38\nMOV             W8, #0x96FF                                            ; +0x28, 0x10007df3c\nSTRH            W8, [SP,#0x30+var_24]                                  ; +0x2c, 0x10007df40\nLDR             X8, [X0]                                               ; +0x30, 0x10007df44\nLDR             X8, [X8,#0x3B0]                                        ; +0x34, 0x10007df48\nADD             X1, SP, #0x30+var_24                                   ; +0x38, 0x10007df4c\nBLR             X8                                                     ; +0x3c, 0x10007df50\nLDR             X0, [X19,#0x2A8]                                       ; +0x40, 0x10007df54\nLDR             X8, [X0]                                               ; +0x44, 0x10007df58\nLDR             X8, [X8,#0xA0]                                         ; +0x48, 0x10007df5c\nADRP            X9, #dword_100635340@PAGE                              ; +0x4c, 0x10007df60\nLDR             S0, [X9,#dword_100635340@PAGEOFF]                      ; +0x50, 0x10007df64\nBLR             X8                                                     ; +0x54, 0x10007df68\nLDP             X29, X30, [SP,#0x30+var_10]                            ; +0x58, 0x10007df6c\nLDP             X20, X19, [SP,#0x30+var_20]                            ; +0x5c, 0x10007df70\nADD             SP, SP, #0x30 ; '0'                                    ; +0x60, 0x10007df74\nRET                                                                    ; +0x64, 0x10007df78", "xrefs": ["<???> @ 0x10077a700", "<???> @ 0x10077ae40"], "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"}