{"type": "func", "start": 4299773568, "end": 4299773669, "name": "FLAlertLayer::ownedTouchPrio", "pseudocode": "// \n// FLAlertLayer::ownedTouchPrio from 0x100495680 to 0x1004956e5 (101 bytes)\n// \n// 0 xrefs:\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:30:48 +0000\n// \n\n__int64 __fastcall FLAlertLayer::ownedTouchPrio(__int64 a1, int a2)\n{\n  __int64 v2; // rax\n  __int64 v3; // rax\n  _DWORD *v4; // r14\n  __int64 v5; // rax\n  _DWORD v7[7]; // [rsp+0h] [rbp-1Ch] BYREF\n\n  v7[0] = 0;\n  v2 = cocos2d::CCDirector::sharedDirector();\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);\n  v4 = v7;\n  if ( !(unsigned __int8)sub_1004C74E0(v3, a1, v7) )\n  {\n    v5 = cocos2d::CCDirector::sharedDirector();\n    v4 = (_DWORD *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 160LL))(v5) + 128);\n  }\n  return (unsigned int)(*v4 + a2);\n}", "assembly": "; \n; FLAlertLayer::ownedTouchPrio from 0x100495680 to 0x1004956e5 (101 bytes)\n; \n; 0 xrefs:\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:30:48 +0000\n; \npush    rbp                                                            ; +0x0, 0x100495680\nmov     rbp, rsp                                                       ; +0x1, 0x100495681\npush    r15                                                            ; +0x4, 0x100495684\npush    r14                                                            ; +0x6, 0x100495686\npush    rbx                                                            ; +0x8, 0x100495688\npush    rax                                                            ; +0x9, 0x100495689\nmov     ebx, esi                                                       ; +0xa, 0x10049568a\nmov     r15, rdi                                                       ; +0xc, 0x10049568c\nmov     [rbp+var_1C], 0                                                ; +0xf, 0x10049568f\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x16, 0x100495696\nmov     rcx, [rax]                                                     ; +0x1b, 0x10049569b\nmov     rdi, rax                                                       ; +0x1e, 0x10049569e\ncall    qword ptr [rcx+0A0h]                                           ; +0x21, 0x1004956a1\nlea     r14, [rbp+var_1C]                                              ; +0x27, 0x1004956a7\nmov     rdi, rax                                                       ; +0x2b, 0x1004956ab\nmov     rsi, r15                                                       ; +0x2e, 0x1004956ae\nmov     rdx, r14                                                       ; +0x31, 0x1004956b1\ncall    sub_1004C74E0                                                  ; +0x34, 0x1004956b4\ntest    al, al                                                         ; +0x39, 0x1004956b9\njnz     short loc_1004956D5                                            ; +0x3b, 0x1004956bb\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x3d, 0x1004956bd\nmov     rcx, [rax]                                                     ; +0x42, 0x1004956c2\nmov     rdi, rax                                                       ; +0x45, 0x1004956c5\ncall    qword ptr [rcx+0A0h]                                           ; +0x48, 0x1004956c8\nmov     r14, rax                                                       ; +0x4e, 0x1004956ce\nsub     r14, 0FFFFFFFFFFFFFF80h                                        ; +0x51, 0x1004956d1\nadd     ebx, [r14]                                                     ; +0x55, 0x1004956d5\nmov     eax, ebx                                                       ; +0x58, 0x1004956d8\nadd     rsp, 8                                                         ; +0x5a, 0x1004956da\npop     rbx                                                            ; +0x5e, 0x1004956de\npop     r14                                                            ; +0x5f, 0x1004956df\npop     r15                                                            ; +0x61, 0x1004956e1\npop     rbp                                                            ; +0x63, 0x1004956e3\nretn                                                                   ; +0x64, 0x1004956e4", "xrefs": [], "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"}