{"type": "func", "start": 4300264304, "end": 4300264386, "name": "CreateGuidelinesLayer::ccTouchEnded", "pseudocode": "// \n// CreateGuidelinesLayer::ccTouchEnded from 0x10050d370 to 0x10050d3c2 (82 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x10095bfb0\n// > <???> @ 0x10095c6f0\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; // rax\n  cocos2d::CCSprite *m_circleSprite; // rax\n  int v5; // [rsp-14h] [rbp-14h] BYREF\n\n  if ( a1->m_recording )\n  {\n    v5 = HIDWORD(v3);\n    m_circleSprite = a1->m_circleSprite;\n    BYTE2(v5) = 0;\n    LOWORD(v5) = -26881;\n    ((void (__fastcall *)(cocos2d::CCSprite *, int *, cocos2d::CCEvent *))m_circleSprite->setColor)(\n      m_circleSprite,\n      &v5,\n      a3);\n    ((void (__fastcall *)(cocos2d::CCSprite *, float))a1->m_circleSprite->setScale)(a1->m_circleSprite, 0.80000001);\n  }\n}", "assembly": "; \n; CreateGuidelinesLayer::ccTouchEnded from 0x10050d370 to 0x10050d3c2 (82 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x10095bfb0\n; > <???> @ 0x10095c6f0\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\ncmp     byte ptr [rdi+2B4h], 1                                         ; +0x0, 0x10050d370\njnz     short locret_10050D3C1                                         ; +0x7, 0x10050d377\npush    rbp                                                            ; +0x9, 0x10050d379\nmov     rbp, rsp                                                       ; +0xa, 0x10050d37a\npush    rbx                                                            ; +0xd, 0x10050d37d\npush    rax                                                            ; +0xe, 0x10050d37e\nmov     rax, [rdi+2A8h]                                                ; +0xf, 0x10050d37f\nmov     byte ptr [rbp-0Ah], 0                                          ; +0x16, 0x10050d386\nmov     word ptr [rbp-0Ch], 96FFh                                      ; +0x1a, 0x10050d38a\nmov     rcx, [rax]                                                     ; +0x20, 0x10050d390\nlea     rsi, [rbp-0Ch]                                                 ; +0x23, 0x10050d393\nmov     rbx, rdi                                                       ; +0x27, 0x10050d397\nmov     rdi, rax                                                       ; +0x2a, 0x10050d39a\ncall    qword ptr [rcx+3B0h]                                           ; +0x2d, 0x10050d39d\nmov     rdi, [rbx+2A8h]                                                ; +0x33, 0x10050d3a3\nmov     rax, [rdi]                                                     ; +0x3a, 0x10050d3aa\nmovss   xmm0, cs:dword_100814FE4                                       ; +0x3d, 0x10050d3ad\ncall    qword ptr [rax+0A0h]                                           ; +0x45, 0x10050d3b5\nadd     rsp, 8                                                         ; +0x4b, 0x10050d3bb\npop     rbx                                                            ; +0x4f, 0x10050d3bf\npop     rbp                                                            ; +0x50, 0x10050d3c0\nretn                                                                   ; +0x51, 0x10050d3c1", "xrefs": ["<???> @ 0x10095bfb0", "<???> @ 0x10095c6f0"], "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"}