{"type": "func", "start": 4296374800, "end": 4296374948, "name": "GJRotationControl::ccTouchMoved", "pseudocode": "// \n// GJRotationControl::ccTouchMoved from 0x100157a10 to 0x100157aa4 (148 bytes)\n// \n// 2 xrefs:\n// > sub_100157AA4 @ 0x100157aa8\n// > <???> @ 0x1008e26c0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:59:42 +0000\n// \n\n__int64 (__fastcall ***__fastcall GJRotationControl::ccTouchMoved(__int64 a1, __int64 a2))(_QWORD, _QWORD, float)\n{\n  __int64 (__fastcall ***result)(_QWORD, _QWORD, float); // x0\n  __n128 v4; // q0\n  __int64 v5; // [xsp+0h] [xbp-20h] BYREF\n  __int64 v6; // [xsp+8h] [xbp-18h] BYREF\n\n  result = *(__int64 (__fastcall ****)(_QWORD, _QWORD, float))(a1 + 504);\n  if ( result )\n    return (__int64 (__fastcall ***)(_QWORD, _QWORD, float))((__int64 (__fastcall *)(__int64 (__fastcall ***)(_QWORD, _QWORD, float)))(*result)[113])(result);\n  if ( *(_DWORD *)(a1 + 440) == *(_DWORD *)(a2 + 56) )\n  {\n    cocos2d::CCTouch::getLocation(&v6, a2);\n    cocos2d::CCNode::convertToNodeSpace(&v5, a1, &v6, v4);\n    sub_10002630C(&v6, (double *)&v5);\n    sub_1000262F4(&v5, (double *)&v6);\n    return sub_10015773C(a1, (float *)&v5);\n  }\n  return result;\n}", "assembly": "; \n; GJRotationControl::ccTouchMoved from 0x100157a10 to 0x100157aa4 (148 bytes)\n; \n; 2 xrefs:\n; > sub_100157AA4 @ 0x100157aa8\n; > <???> @ 0x1008e26c0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:59:42 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x100157a10\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100157a14\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100157a18\nADD             X29, SP, #0x20                                         ; +0xc, 0x100157a1c\nMOV             X19, X0                                                ; +0x10, 0x100157a20\nLDR             X0, [X0,#0x1F8]                                        ; +0x14, 0x100157a24\nCBZ             X0, loc_100157A44                                      ; +0x18, 0x100157a28\nLDR             X8, [X0]                                               ; +0x1c, 0x100157a2c\nLDR             X3, [X8,#0x388]                                        ; +0x20, 0x100157a30\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x24, 0x100157a34\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x28, 0x100157a38\nADD             SP, SP, #0x30 ; '0'                                    ; +0x2c, 0x100157a3c\nBR              X3                                                     ; +0x30, 0x100157a40\nLDR             W8, [X19,#0x1B8]                                       ; +0x34, 0x100157a44\nLDR             W9, [X1,#0x38]                                         ; +0x38, 0x100157a48\nCMP             W8, W9                                                 ; +0x3c, 0x100157a4c\nB.NE            loc_100157A94                                          ; +0x40, 0x100157a50\nADD             X8, SP, #0x20+var_18                                   ; +0x44, 0x100157a54\nMOV             X0, X1                                                 ; +0x48, 0x100157a58\nBL              cocos2d__CCTouch__getLocation                          ; +0x4c, 0x100157a5c\nMOV             X8, SP                                                 ; +0x50, 0x100157a60\nADD             X1, SP, #0x20+var_18                                   ; +0x54, 0x100157a64\nMOV             X0, X19                                                ; +0x58, 0x100157a68\nBL              cocos2d__CCNode__convertToNodeSpace                    ; +0x5c, 0x100157a6c\nADD             X0, SP, #0x20+var_18                                   ; +0x60, 0x100157a70\nMOV             X1, SP                                                 ; +0x64, 0x100157a74\nBL              sub_10002630C                                          ; +0x68, 0x100157a78\nMOV             X0, SP                                                 ; +0x6c, 0x100157a7c\nADD             X1, SP, #0x20+var_18                                   ; +0x70, 0x100157a80\nBL              sub_1000262F4                                          ; +0x74, 0x100157a84\nMOV             X1, SP                                                 ; +0x78, 0x100157a88\nMOV             X0, X19                                                ; +0x7c, 0x100157a8c\nBL              sub_10015773C                                          ; +0x80, 0x100157a90\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x84, 0x100157a94\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x88, 0x100157a98\nADD             SP, SP, #0x30 ; '0'                                    ; +0x8c, 0x100157a9c\nRET                                                                    ; +0x90, 0x100157aa0", "xrefs": ["sub_100157AA4 @ 0x100157aa8", "<???> @ 0x1008e26c0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}