{"type": "func", "start": 6442893616, "end": 6442893715, "name": "cocos2d::CCTouch::setTouchInfo", "pseudocode": "// \n// cocos2d::CCTouch::setTouchInfo from 0x18006c130 to 0x18006c193 (99 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b3eac\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 cocos2d::CCTouch::setTouchInfo(cocos2d::CCTouch *this, int a2, float a3, float a4)\n{\n  bool v5; // zf\n\n  this->m_nId = a2;\n  cocos2d::CCSize::operator=(&this->m_prevPoint, &this->m_point);\n  v5 = !this->m_startPointCaptured;\n  this->m_point.x = a3;\n  this->m_point.y = a4;\n  if ( v5 )\n  {\n    cocos2d::CCSize::operator=(&this->m_startPoint, &this->m_point);\n    this->m_startPointCaptured = 1;\n  }\n}", "assembly": "; \n; cocos2d::CCTouch::setTouchInfo from 0x18006c130 to 0x18006c193 (99 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b3eac\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18006c130\npush    rdi                                                            ; +0x5, 0x18006c135\nsub     rsp, 40h                                                       ; +0x6, 0x18006c136\nmov     rbx, rcx                                                       ; +0xa, 0x18006c13a\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0xd, 0x18006c13d\nmov     [rcx+38h], edx                                                 ; +0x12, 0x18006c142\nmovaps  xmm6, xmm2                                                     ; +0x15, 0x18006c145\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0x18, 0x18006c148\nadd     rcx, 50h ; 'P'                                                 ; +0x1d, 0x18006c14d\nmovaps  xmm7, xmm3                                                     ; +0x21, 0x18006c151\nlea     rdx, [rbx+48h]                                                 ; +0x24, 0x18006c154\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x28, 0x18006c158\ncmp     byte ptr [rbx+3Ch], 0                                          ; +0x2d, 0x18006c15d\nmovss   dword ptr [rbx+48h], xmm6                                      ; +0x31, 0x18006c161\nmovss   dword ptr [rbx+4Ch], xmm7                                      ; +0x36, 0x18006c166\njnz     short loc_18006C17E                                            ; +0x3b, 0x18006c16b\nlea     rcx, [rbx+40h]                                                 ; +0x3d, 0x18006c16d\nlea     rdx, [rbx+48h]                                                 ; +0x41, 0x18006c171\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x45, 0x18006c175\nmov     byte ptr [rbx+3Ch], 1                                          ; +0x4a, 0x18006c17a\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x4e, 0x18006c17e\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x53, 0x18006c183\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x58, 0x18006c188\nadd     rsp, 40h                                                       ; +0x5d, 0x18006c18d\npop     rdi                                                            ; +0x61, 0x18006c191\nretn                                                                   ; +0x62, 0x18006c192", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b3eac"], "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"}