{"type": "func", "start": 5369653392, "end": 5369653541, "name": "LevelBadgePopup::ccTouchBegan", "pseudocode": "// \n// LevelBadgePopup::ccTouchBegan from 0x1400e6890 to 0x1400e6925 (149 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14072d430\n// > <???> @ 0x140914cd8\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 11:26:33 +0000\n// \n\nchar __fastcall LevelBadgePopup::ccTouchBegan(__int64 a1, __int64 a2, __int64 a3)\n{\n  const struct cocos2d::CCPoint *Location; // rax\n  __int64 v7; // rdx\n  char v9; // [rsp+30h] [rbp+8h] BYREF\n\n  Location = (const struct cocos2d::CCPoint *)cocos2d::CCTouch::getLocation(a2, &v9);\n  if ( cocos2d::CCRect::containsPoint((cocos2d::CCRect *)(a1 + 360), Location) )\n    return FLAlertLayer::ccTouchBegan(a1, a2, a3);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 320) + 992LL))(a1 - 320, 0);\n  LOBYTE(v7) = 1;\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(a1 - 320) + 520LL))(a1 - 320, v7);\n  return 1;\n}", "assembly": "; \n; LevelBadgePopup::ccTouchBegan from 0x1400e6890 to 0x1400e6925 (149 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14072d430\n; > <???> @ 0x140914cd8\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 11:26:33 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1400e6890\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1400e6895\npush    rdi                                                            ; +0xa, 0x1400e689a\nsub     rsp, 20h                                                       ; +0xb, 0x1400e689b\nmov     rdi, rdx                                                       ; +0xf, 0x1400e689f\nmov     rbx, rcx                                                       ; +0x12, 0x1400e68a2\nmov     rcx, rdi                                                       ; +0x15, 0x1400e68a5\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x18, 0x1400e68a8\nmov     rsi, r8                                                        ; +0x1d, 0x1400e68ad\ncall    cs:?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x20, 0x1400e68b0\nmov     rdx, rax                                                       ; +0x26, 0x1400e68b6\nlea     rcx, [rbx+168h]                                                ; +0x29, 0x1400e68b9\ncall    cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0x30, 0x1400e68c0\ntest    al, al                                                         ; +0x36, 0x1400e68c6\njnz     short loc_1400E6908                                            ; +0x38, 0x1400e68c8\nmov     rax, [rbx-140h]                                                ; +0x3a, 0x1400e68ca\nlea     rcx, [rbx-140h]                                                ; +0x41, 0x1400e68d1\nxor     edx, edx                                                       ; +0x48, 0x1400e68d8\ncall    qword ptr [rax+3E0h]                                           ; +0x4a, 0x1400e68da\nmov     rax, [rbx-140h]                                                ; +0x50, 0x1400e68e0\nlea     rcx, [rbx-140h]                                                ; +0x57, 0x1400e68e7\nmov     dl, 1                                                          ; +0x5e, 0x1400e68ee\ncall    qword ptr [rax+208h]                                           ; +0x60, 0x1400e68f0\nmov     al, 1                                                          ; +0x66, 0x1400e68f6\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x68, 0x1400e68f8\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x6d, 0x1400e68fd\nadd     rsp, 20h                                                       ; +0x72, 0x1400e6902\npop     rdi                                                            ; +0x76, 0x1400e6906\nretn                                                                   ; +0x77, 0x1400e6907\nmov     r8, rsi                                                        ; +0x78, 0x1400e6908\nmov     rdx, rdi                                                       ; +0x7b, 0x1400e690b\nmov     rcx, rbx                                                       ; +0x7e, 0x1400e690e\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x81, 0x1400e6911\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x86, 0x1400e6916\nadd     rsp, 20h                                                       ; +0x8b, 0x1400e691b\npop     rdi                                                            ; +0x8f, 0x1400e691f\njmp     FLAlertLayer__ccTouchBegan                                     ; +0x90, 0x1400e6920", "xrefs": ["<???> @ 0x14072d430", "<???> @ 0x140914cd8"], "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"}