{"type": "func", "start": 6443181824, "end": 6443181926, "name": "cocos2d::CCTouch::getDelta", "pseudocode": "// \n// cocos2d::CCTouch::getDelta from 0x1800b2700 to 0x1800b2766 (102 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b85b0\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\nfloat *__fastcall cocos2d::CCTouch::getDelta(cocos2d::CCTouch *this, float *a2)\n{\n  cocos2d::CCDirector *v3; // rax\n  cocos2d::CCDirector *v4; // rax\n  struct cocos2d::CCPoint v6; // [rsp+30h] [rbp+8h] BYREF\n  struct cocos2d::CCPoint v7; // [rsp+38h] [rbp+10h] BYREF\n\n  v3 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::convertToGL(v3, &v6);\n  v4 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::convertToGL(v4, &v7);\n  cocos2d::CCSize::operator-((float *)&v7, a2, (float *)&v6);\n  return a2;\n}", "assembly": "; \n; cocos2d::CCTouch::getDelta from 0x1800b2700 to 0x1800b2766 (102 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b85b0\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_10], rbx                                              ; +0x0, 0x1800b2700\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x1800b2705\npush    rdi                                                            ; +0xa, 0x1800b270a\nsub     rsp, 20h                                                       ; +0xb, 0x1800b270b\nmov     rsi, rdx                                                       ; +0xf, 0x1800b270f\nmov     rdi, rcx                                                       ; +0x12, 0x1800b2712\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x15, 0x1800b2715\nmov     rcx, rax                                                       ; +0x1a, 0x1800b271a\nlea     r8, [rdi+50h]                                                  ; +0x1d, 0x1800b271d\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x21, 0x1800b2721\ncall    ?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x26, 0x1800b2726\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x2b, 0x1800b272b\nmov     rcx, rax                                                       ; +0x30, 0x1800b2730\nlea     r8, [rdi+48h]                                                  ; +0x33, 0x1800b2733\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x37, 0x1800b2737\ncall    ?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x3c, 0x1800b273c\nlea     r8, [rsp+28h+arg_0]                                            ; +0x41, 0x1800b2741\nmov     rdx, rsi                                                       ; +0x46, 0x1800b2746\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x49, 0x1800b2749\ncall    ??GCCSize@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCSize::operator-(cocos2d::CCSize const &) ; +0x4e, 0x1800b274e\nmov     rbx, [rsp+28h+arg_10]                                          ; +0x53, 0x1800b2753\nmov     rax, rsi                                                       ; +0x58, 0x1800b2758\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x5b, 0x1800b275b\nadd     rsp, 20h                                                       ; +0x60, 0x1800b2760\npop     rdi                                                            ; +0x64, 0x1800b2764\nretn                                                                   ; +0x65, 0x1800b2765", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b85b0"], "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"}