{"type": "func", "start": 5373377744, "end": 5373378073, "name": "MenuLayer::onReportQueue", "pseudocode": "// \n// MenuLayer::onReportQueue from 0x140473cd0 to 0x140473e19 (329 bytes)\n// \n// 2 xrefs:\n// > MenuLayer::init @ 0x140473639\n// > <???> @ 0x140928208\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:32:40 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 MenuLayer::onReportQueue()\n{\n  cocos2d::CCObject *v0; // rbx\n  __int64 (__fastcall *v1)(__int64); // rdx\n\n  v0 = (cocos2d::CCObject *)operator new(0x338u);\n  sub_1400ABC50((__int64)v0);\n  *(_QWORD *)v0 = &ReportQueuePopup::`vftable';\n  *((_QWORD *)v0 + 40) = &ReportQueuePopup::`vftable';\n  *((_QWORD *)v0 + 41) = &ReportQueuePopup::`vftable';\n  *((_QWORD *)v0 + 42) = &ReportQueuePopup::`vftable';\n  *((_QWORD *)v0 + 43) = &ReportQueuePopup::`vftable';\n  *((_QWORD *)v0 + 44) = &ReportQueuePopup::`vftable';\n  *((_QWORD *)v0 + 51) = &ReportQueuePopup::`vftable';\n  *((_QWORD *)v0 + 54) = &ReportQueuePopup::`vftable';\n  *((_QWORD *)v0 + 68) = &ReportQueuePopup::`vftable';\n  *((_QWORD *)v0 + 97) = &ReportQueuePopup::`vftable';\n  *((_QWORD *)v0 + 98) = &ReportQueuePopup::`vftable';\n  *((_QWORD *)v0 + 99) = 0;\n  *((_QWORD *)v0 + 100) = 0;\n  *((_QWORD *)v0 + 101) = 0;\n  *((_QWORD *)v0 + 102) = 0;\n  if ( ReportQueuePopup::init((__int64)v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);\n    v0 = nullptr;\n  }\n  v1 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v0 + 1064LL);\n  if ( v1 == PagedListPopup::show )\n    return PagedListPopup::show((__int64)v0);\n  else\n    return v1((__int64)v0);\n}", "assembly": "; \n; MenuLayer::onReportQueue from 0x140473cd0 to 0x140473e19 (329 bytes)\n; \n; 2 xrefs:\n; > MenuLayer::init @ 0x140473639\n; > <???> @ 0x140928208\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:32:40 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140473cd0\npush    rdi                                                            ; +0x5, 0x140473cd5\nsub     rsp, 20h                                                       ; +0x6, 0x140473cd6\nmov     ecx, 338h; Size                                                ; +0xa, 0x140473cda\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xf, 0x140473cdf\nmov     rbx, rax                                                       ; +0x14, 0x140473ce4\nmov     [rsp+28h+arg_10], rax                                          ; +0x17, 0x140473ce7\nmov     rcx, rax                                                       ; +0x1c, 0x140473cec\ncall    sub_1400ABC50                                                  ; +0x1f, 0x140473cef\nlea     rax, ??_7ReportQueuePopup@@6B@; const ReportQueuePopup::`vftable' ; +0x24, 0x140473cf4\nmov     [rbx], rax                                                     ; +0x2b, 0x140473cfb\nlea     rax, ??_7ReportQueuePopup@@6B@_0; const ReportQueuePopup::`vftable' ; +0x2e, 0x140473cfe\nmov     [rbx+140h], rax                                                ; +0x35, 0x140473d05\nlea     rax, ??_7ReportQueuePopup@@6B@_1; const ReportQueuePopup::`vftable' ; +0x3c, 0x140473d0c\nmov     [rbx+148h], rax                                                ; +0x43, 0x140473d13\nlea     rax, ??_7ReportQueuePopup@@6B@_2; const ReportQueuePopup::`vftable' ; +0x4a, 0x140473d1a\nmov     [rbx+150h], rax                                                ; +0x51, 0x140473d21\nlea     rax, ??_7ReportQueuePopup@@6B@_3; const ReportQueuePopup::`vftable' ; +0x58, 0x140473d28\nmov     [rbx+158h], rax                                                ; +0x5f, 0x140473d2f\nlea     rax, ??_7ReportQueuePopup@@6B@_4; const ReportQueuePopup::`vftable' ; +0x66, 0x140473d36\nmov     [rbx+160h], rax                                                ; +0x6d, 0x140473d3d\nlea     rax, ??_7ReportQueuePopup@@6B@_5; const ReportQueuePopup::`vftable' ; +0x74, 0x140473d44\nmov     [rbx+198h], rax                                                ; +0x7b, 0x140473d4b\nlea     rax, ??_7ReportQueuePopup@@6B@_6; const ReportQueuePopup::`vftable' ; +0x82, 0x140473d52\nmov     [rbx+1B0h], rax                                                ; +0x89, 0x140473d59\nlea     rax, ??_7ReportQueuePopup@@6B@_7; const ReportQueuePopup::`vftable' ; +0x90, 0x140473d60\nmov     [rbx+220h], rax                                                ; +0x97, 0x140473d67\nlea     rax, ??_7ReportQueuePopup@@6B@_8; const ReportQueuePopup::`vftable' ; +0x9e, 0x140473d6e\nmov     [rbx+308h], rax                                                ; +0xa5, 0x140473d75\nlea     rax, ??_7ReportQueuePopup@@6B@_9; const ReportQueuePopup::`vftable' ; +0xac, 0x140473d7c\nmov     [rbx+310h], rax                                                ; +0xb3, 0x140473d83\nxor     edi, edi                                                       ; +0xba, 0x140473d8a\nmov     [rbx+318h], rdi                                                ; +0xbc, 0x140473d8c\nmov     [rbx+320h], rdi                                                ; +0xc3, 0x140473d93\nmov     [rbx+328h], rdi                                                ; +0xca, 0x140473d9a\nmov     [rbx+330h], rdi                                                ; +0xd1, 0x140473da1\nmov     rax, cs:off_140724BA0                                          ; +0xd8, 0x140473da8\nlea     rcx, ReportQueuePopup__init                                    ; +0xdf, 0x140473daf\ncmp     rax, rcx                                                       ; +0xe6, 0x140473db6\nmov     rcx, rbx                                                       ; +0xe9, 0x140473db9\njnz     short loc_140473DC5                                            ; +0xec, 0x140473dbc\ncall    ReportQueuePopup__init                                         ; +0xee, 0x140473dbe\njmp     short loc_140473DC7                                            ; +0xf3, 0x140473dc3\ncall    rax ; ReportQueuePopup__init                                   ; +0xf5, 0x140473dc5\nmov     rcx, rbx                                                       ; +0xf7, 0x140473dc7\ntest    al, al                                                         ; +0xfa, 0x140473dca\njz      short loc_140473DD6                                            ; +0xfc, 0x140473dcc\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xfe, 0x140473dce\njmp     short loc_140473DE4                                            ; +0x104, 0x140473dd4\nmov     rax, [rbx]                                                     ; +0x106, 0x140473dd6\nmov     edx, 1                                                         ; +0x109, 0x140473dd9\ncall    qword ptr [rax+8]                                              ; +0x10e, 0x140473dde\nmov     rbx, rdi                                                       ; +0x111, 0x140473de1\nmov     rax, [rbx]                                                     ; +0x114, 0x140473de4\nmov     rdx, [rax+428h]                                                ; +0x117, 0x140473de7\nlea     rax, PagedListPopup__show; Merged with: PagedListPopup::show, DeathTrackerPopup::show, ThreadViewPopup::show ; +0x11e, 0x140473dee\nmov     rcx, rbx                                                       ; +0x125, 0x140473df5\ncmp     rdx, rax                                                       ; +0x128, 0x140473df8\njnz     short loc_140473E0C                                            ; +0x12b, 0x140473dfb\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x12d, 0x140473dfd\nadd     rsp, 20h                                                       ; +0x132, 0x140473e02\npop     rdi                                                            ; +0x136, 0x140473e06\njmp     PagedListPopup__show; Merged with: PagedListPopup::show, DeathTrackerPopup::show, ThreadViewPopup::show ; +0x137, 0x140473e07\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x13c, 0x140473e0c\nadd     rsp, 20h                                                       ; +0x141, 0x140473e11\npop     rdi                                                            ; +0x145, 0x140473e15\njmp     rdx                                                            ; +0x146, 0x140473e16", "xrefs": ["MenuLayer::init @ 0x140473639", "<???> @ 0x140928208"], "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"}