{"type": "func", "start": 4296374956, "end": 4296375044, "name": "GJRotationControl::ccTouchEnded", "pseudocode": "// \n// GJRotationControl::ccTouchEnded from 0x100157aac to 0x100157b04 (88 bytes)\n// \n// 2 xrefs:\n// > sub_100157B04 @ 0x100157b08\n// > <???> @ 0x1008e26c8\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 GJRotationControl::ccTouchEnded(__int64 a1, __int64 a2)\n{\n  __int64 result; // x0\n\n  result = *(_QWORD *)(a1 + 504);\n  if ( result )\n  {\n    result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 912LL))(result);\n    *(_QWORD *)(a1 + 504) = 0;\n  }\n  else if ( *(_DWORD *)(a1 + 440) == *(_DWORD *)(a2 + 56) )\n  {\n    return GJRotationControl::finishTouch(a1);\n  }\n  return result;\n}", "assembly": "; \n; GJRotationControl::ccTouchEnded from 0x100157aac to 0x100157b04 (88 bytes)\n; \n; 2 xrefs:\n; > sub_100157B04 @ 0x100157b08\n; > <???> @ 0x1008e26c8\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; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100157aac\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100157ab0\nADD             X29, SP, #0x10                                         ; +0x8, 0x100157ab4\nMOV             X19, X0                                                ; +0xc, 0x100157ab8\nLDR             X0, [X0,#0x1F8]                                        ; +0x10, 0x100157abc\nCBZ             X0, loc_100157AD8                                      ; +0x14, 0x100157ac0\nLDR             X8, [X0]                                               ; +0x18, 0x100157ac4\nLDR             X8, [X8,#0x390]                                        ; +0x1c, 0x100157ac8\nBLR             X8                                                     ; +0x20, 0x100157acc\nSTR             XZR, [X19,#0x1F8]                                      ; +0x24, 0x100157ad0\nB               loc_100157AF8                                          ; +0x28, 0x100157ad4\nLDR             W8, [X19,#0x1B8]                                       ; +0x2c, 0x100157ad8\nLDR             W9, [X1,#0x38]                                         ; +0x30, 0x100157adc\nCMP             W8, W9                                                 ; +0x34, 0x100157ae0\nB.NE            loc_100157AF8                                          ; +0x38, 0x100157ae4\nMOV             X0, X19                                                ; +0x3c, 0x100157ae8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x100157aec\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x100157af0\nB               GJRotationControl__finishTouch                         ; +0x48, 0x100157af4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4c, 0x100157af8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x50, 0x100157afc\nRET                                                                    ; +0x54, 0x100157b00", "xrefs": ["sub_100157B04 @ 0x100157b08", "<???> @ 0x1008e26c8"], "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"}