{"type": "func", "start": 4304419136, "end": 4304419274, "name": "EmotePickerPopup::ccTouchBegan", "pseudocode": "// \n// EmotePickerPopup::ccTouchBegan from 0x100903940 to 0x1009039ca (138 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bb91d0\n// \n// This function is hookable on this platform (idp: pc, 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 12:38:03 +0000\n// \n\nbool __fastcall EmotePickerPopup::ccTouchBegan(__int64 a1, __int64 a2, __int64 a3)\n{\n  bool result; // al\n  __int64 v4; // r14\n  __int64 v5; // [rsp+0h] [rbp-30h] BYREF\n  float v6[10]; // [rsp+8h] [rbp-28h] BYREF\n\n  result = EditorWindowPopup::ccTouchBegan(a1, a2, a3);\n  if ( !result )\n  {\n    cocos2d::CCTouch::getLocation((__int64)v6, a2);\n    v4 = *(_QWORD *)(a1 + 1168);\n    if ( !v4 || (sub_1002782D0(&v5, v6), !(unsigned __int8)sub_10006BEC0(v4, (__int64)&v5)) )\n    {\n      if ( !sub_100278940((float *)(a1 + 1192), v6) )\n        (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1368LL))(a1, 0);\n    }\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; EmotePickerPopup::ccTouchBegan from 0x100903940 to 0x1009039ca (138 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bb91d0\n; \n; This function is hookable on this platform (idp: pc, 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 12:38:03 +0000\n; \npush    rbp                                                            ; +0x0, 0x100903940\nmov     rbp, rsp                                                       ; +0x1, 0x100903941\npush    r15                                                            ; +0x4, 0x100903944\npush    r14                                                            ; +0x6, 0x100903946\npush    r12                                                            ; +0x8, 0x100903948\npush    rbx                                                            ; +0xa, 0x10090394a\nsub     rsp, 10h                                                       ; +0xb, 0x10090394b\nmov     r14, rsi                                                       ; +0xf, 0x10090394f\nmov     rbx, rdi                                                       ; +0x12, 0x100903952\ncall    EditorWindowPopup__ccTouchBegan                                ; +0x15, 0x100903955\ntest    al, al                                                         ; +0x1a, 0x10090395a\njnz     short loc_1009039BD                                            ; +0x1c, 0x10090395c\nmov     r12d, eax                                                      ; +0x1e, 0x10090395e\nlea     rdi, [rbp+var_28]                                              ; +0x21, 0x100903961\nmov     rsi, r14                                                       ; +0x25, 0x100903965\ncall    cocos2d__CCTouch__getLocation                                  ; +0x28, 0x100903968\nmov     r14, [rbx+490h]                                                ; +0x2d, 0x10090396d\ntest    r14, r14                                                       ; +0x34, 0x100903974\njz      short loc_100903998                                            ; +0x37, 0x100903977\nlea     r15, [rbp+var_30]                                              ; +0x39, 0x100903979\nlea     rsi, [rbp+var_28]                                              ; +0x3d, 0x10090397d\nmov     rdi, r15                                                       ; +0x41, 0x100903981\ncall    sub_1002782D0                                                  ; +0x44, 0x100903984\nmov     rdi, r14                                                       ; +0x49, 0x100903989\nmov     rsi, r15                                                       ; +0x4c, 0x10090398c\ncall    sub_10006BEC0                                                  ; +0x4f, 0x10090398f\ntest    al, al                                                         ; +0x54, 0x100903994\njnz     short loc_1009039BA                                            ; +0x56, 0x100903996\nlea     rdi, [rbx+4A8h]                                                ; +0x58, 0x100903998\nlea     rsi, [rbp+var_28]                                              ; +0x5f, 0x10090399f\ncall    sub_100278940                                                  ; +0x63, 0x1009039a3\ntest    al, al                                                         ; +0x68, 0x1009039a8\njnz     short loc_1009039BA                                            ; +0x6a, 0x1009039aa\nmov     rax, [rbx]                                                     ; +0x6c, 0x1009039ac\nmov     rdi, rbx                                                       ; +0x6f, 0x1009039af\nxor     esi, esi                                                       ; +0x72, 0x1009039b2\ncall    qword ptr [rax+558h]                                           ; +0x74, 0x1009039b4\nmov     eax, r12d                                                      ; +0x7a, 0x1009039ba\nadd     rsp, 10h                                                       ; +0x7d, 0x1009039bd\npop     rbx                                                            ; +0x81, 0x1009039c1\npop     r12                                                            ; +0x82, 0x1009039c2\npop     r14                                                            ; +0x84, 0x1009039c4\npop     r15                                                            ; +0x86, 0x1009039c6\npop     rbp                                                            ; +0x88, 0x1009039c8\nretn                                                                   ; +0x89, 0x1009039c9", "xrefs": ["<???> @ 0x100bb91d0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}