{"type": "func", "start": 4299990128, "end": 4299990231, "name": "GJUINode::activeTouchTest", "pseudocode": "// \n// GJUINode::activeTouchTest from 0x1004ca470 to 0x1004ca4d7 (103 bytes)\n// \n// 0 xrefs:\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\nint __fastcall GJUINode::activeTouchTest(GJUINode *a1, cocos2d::CCPoint a2)\n{\n  double *v2; // rsi\n  cocos2d::CCPoint v3; // xmm0_8\n  int result; // eax\n  __int64 v5; // [rsp-20h] [rbp-20h] BYREF\n\n  if ( a1->m_modeB )\n  {\n    *(double *)&v3 = sub_10028CC60(&v5, v2);\n    return GJUINode::activeRangeTouchTest(a1, v3);\n  }\n  else\n  {\n    result = 5;\n    if ( a1->m_deadzone <= fabs(*(float *)v2) )\n      return ((*(unsigned int *)v2 | 0x300000000LL) - (unsigned __int64)COERCE_UNSIGNED_INT(0.0)) >> 32;\n  }\n  return result;\n}", "assembly": "; \n; GJUINode::activeTouchTest from 0x1004ca470 to 0x1004ca4d7 (103 bytes)\n; \n; 0 xrefs:\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+17Dh], 0                                         ; +0x0, 0x1004ca470\njz      short loc_1004CA4A7                                            ; +0x7, 0x1004ca477\npush    rbp                                                            ; +0x9, 0x1004ca479\nmov     rbp, rsp                                                       ; +0xa, 0x1004ca47a\npush    r14                                                            ; +0xd, 0x1004ca47d\npush    rbx                                                            ; +0xf, 0x1004ca47f\nsub     rsp, 10h                                                       ; +0x10, 0x1004ca480\nlea     rbx, [rbp-18h]                                                 ; +0x14, 0x1004ca484\nmov     r14, rdi                                                       ; +0x18, 0x1004ca488\nmov     rdi, rbx                                                       ; +0x1b, 0x1004ca48b\ncall    sub_10028CC60                                                  ; +0x1e, 0x1004ca48e\nmov     rdi, r14                                                       ; +0x23, 0x1004ca493\nmov     rsi, rbx                                                       ; +0x26, 0x1004ca496\ncall    GJUINode__activeRangeTouchTest                                 ; +0x29, 0x1004ca499\nadd     rsp, 10h                                                       ; +0x2e, 0x1004ca49e\npop     rbx                                                            ; +0x32, 0x1004ca4a2\npop     r14                                                            ; +0x33, 0x1004ca4a3\npop     rbp                                                            ; +0x35, 0x1004ca4a5\nretn                                                                   ; +0x36, 0x1004ca4a6\nmovss   xmm0, dword ptr [rsi]                                          ; +0x37, 0x1004ca4a7\nmovaps  xmm1, cs:xmmword_100815500                                     ; +0x3b, 0x1004ca4ab\nandps   xmm1, xmm0                                                     ; +0x42, 0x1004ca4b2\nmovss   xmm2, dword ptr [rdi+178h]                                     ; +0x45, 0x1004ca4b5\nmov     eax, 5                                                         ; +0x4d, 0x1004ca4bd\nucomiss xmm2, xmm1                                                     ; +0x52, 0x1004ca4c2\njbe     short loc_1004CA4C8                                            ; +0x55, 0x1004ca4c5\nretn                                                                   ; +0x57, 0x1004ca4c7\nxorps   xmm1, xmm1                                                     ; +0x58, 0x1004ca4c8\nucomiss xmm0, xmm1                                                     ; +0x5b, 0x1004ca4cb\nmov     eax, 3                                                         ; +0x5e, 0x1004ca4ce\nsbb     eax, 0                                                         ; +0x63, 0x1004ca4d3\nretn                                                                   ; +0x66, 0x1004ca4d6", "xrefs": [], "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"}