{"type": "func", "start": 5373331680, "end": 5373331950, "name": "LikeItemLayer::create", "pseudocode": "// \n// LikeItemLayer::create from 0x1404688e0 to 0x1404689ee (270 bytes)\n// \n// 5 xrefs:\n// > CommentCell::onLike @ 0x140154a5e\n// > EditorSoundConfigInfoLayer::onLike @ 0x140195b40\n// > LevelInfoLayer::onLike @ 0x140424050\n// > LevelListLayer::onLike @ 0x14042f9ca\n// > <???> @ 0x140927fb0\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:35 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n_QWORD *__fastcall LikeItemLayer::create(unsigned int a1, unsigned int a2, unsigned int a3)\n{\n  _QWORD *v6; // r14\n\n  v6 = operator new(0x2B0u);\n  FLAlertLayer::FLAlertLayer((__int64)v6);\n  *v6 = &LikeItemLayer::`vftable';\n  v6[40] = &LikeItemLayer::`vftable';\n  v6[41] = &LikeItemLayer::`vftable';\n  v6[42] = &LikeItemLayer::`vftable';\n  v6[43] = &LikeItemLayer::`vftable';\n  v6[44] = &LikeItemLayer::`vftable';\n  v6[51] = &LikeItemLayer::`vftable';\n  v6[54] = &LikeItemLayer::`vftable';\n  v6[68] = &LikeItemLayer::`vftable';\n  v6[83] = 0;\n  *((_DWORD *)v6 + 168) = 0;\n  v6[85] = 0;\n  if ( (unsigned __int8)LikeItemLayer::init(v6, a1, a2, a3) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);\n    return v6;\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *, __int64))(*v6 + 8LL))(v6, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; LikeItemLayer::create from 0x1404688e0 to 0x1404689ee (270 bytes)\n; \n; 5 xrefs:\n; > CommentCell::onLike @ 0x140154a5e\n; > EditorSoundConfigInfoLayer::onLike @ 0x140195b40\n; > LevelInfoLayer::onLike @ 0x140424050\n; > LevelListLayer::onLike @ 0x14042f9ca\n; > <???> @ 0x140927fb0\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:35 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1404688e0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1404688e5\npush    rsi                                                            ; +0xa, 0x1404688ea\npush    rdi                                                            ; +0xb, 0x1404688eb\npush    r14                                                            ; +0xc, 0x1404688ec\nsub     rsp, 20h                                                       ; +0xe, 0x1404688ee\nmov     ebx, r8d                                                       ; +0x12, 0x1404688f2\nmov     edi, edx                                                       ; +0x15, 0x1404688f5\nmov     esi, ecx                                                       ; +0x17, 0x1404688f7\nmov     ecx, 2B0h; Size                                                ; +0x19, 0x1404688f9\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1e, 0x1404688fe\nmov     r14, rax                                                       ; +0x23, 0x140468903\nmov     [rsp+38h+arg_18], rax                                          ; +0x26, 0x140468906\nmov     rcx, rax                                                       ; +0x2b, 0x14046890b\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x2e, 0x14046890e\nlea     rax, ??_7LikeItemLayer@@6B@; const LikeItemLayer::`vftable'    ; +0x33, 0x140468913\nmov     [r14], rax                                                     ; +0x3a, 0x14046891a\nlea     rax, ??_7LikeItemLayer@@6B@_0; const LikeItemLayer::`vftable'  ; +0x3d, 0x14046891d\nmov     [r14+140h], rax                                                ; +0x44, 0x140468924\nlea     rax, ??_7LikeItemLayer@@6B@_1; const LikeItemLayer::`vftable'  ; +0x4b, 0x14046892b\nmov     [r14+148h], rax                                                ; +0x52, 0x140468932\nlea     rax, ??_7LikeItemLayer@@6B@_2; const LikeItemLayer::`vftable'  ; +0x59, 0x140468939\nmov     [r14+150h], rax                                                ; +0x60, 0x140468940\nlea     rax, ??_7LikeItemLayer@@6B@_3; const LikeItemLayer::`vftable'  ; +0x67, 0x140468947\nmov     [r14+158h], rax                                                ; +0x6e, 0x14046894e\nlea     rax, ??_7LikeItemLayer@@6B@_4; const LikeItemLayer::`vftable'  ; +0x75, 0x140468955\nmov     [r14+160h], rax                                                ; +0x7c, 0x14046895c\nlea     rax, ??_7LikeItemLayer@@6B@_5; const LikeItemLayer::`vftable'  ; +0x83, 0x140468963\nmov     [r14+198h], rax                                                ; +0x8a, 0x14046896a\nlea     rax, ??_7LikeItemLayer@@6B@_6; const LikeItemLayer::`vftable'  ; +0x91, 0x140468971\nmov     [r14+1B0h], rax                                                ; +0x98, 0x140468978\nlea     rax, ??_7LikeItemLayer@@6B@_7; const LikeItemLayer::`vftable'  ; +0x9f, 0x14046897f\nmov     [r14+220h], rax                                                ; +0xa6, 0x140468986\nxor     ebp, ebp                                                       ; +0xad, 0x14046898d\nmov     [r14+298h], rbp                                                ; +0xaf, 0x14046898f\nmov     [r14+2A0h], ebp                                                ; +0xb6, 0x140468996\nmov     [r14+2A8h], rbp                                                ; +0xbd, 0x14046899d\nmov     r9d, ebx                                                       ; +0xc4, 0x1404689a4\nmov     r8d, edi                                                       ; +0xc7, 0x1404689a7\nmov     edx, esi                                                       ; +0xca, 0x1404689aa\nmov     rcx, r14                                                       ; +0xcc, 0x1404689ac\ncall    LikeItemLayer__init                                            ; +0xcf, 0x1404689af\ntest    al, al                                                         ; +0xd4, 0x1404689b4\njz      short loc_1404689C6                                            ; +0xd6, 0x1404689b6\nmov     rcx, r14                                                       ; +0xd8, 0x1404689b8\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xdb, 0x1404689bb\nmov     rax, r14                                                       ; +0xe1, 0x1404689c1\njmp     short loc_1404689DB                                            ; +0xe4, 0x1404689c4\nmov     rcx, [r14]                                                     ; +0xe6, 0x1404689c6\nmov     r8, [rcx+8]                                                    ; +0xe9, 0x1404689c9\nmov     edx, 1                                                         ; +0xed, 0x1404689cd\nmov     rcx, r14                                                       ; +0xf2, 0x1404689d2\ncall    r8                                                             ; +0xf5, 0x1404689d5\nmov     rax, rbp                                                       ; +0xf8, 0x1404689d8\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xfb, 0x1404689db\nmov     rbp, [rsp+38h+arg_8]                                           ; +0x100, 0x1404689e0\nadd     rsp, 20h                                                       ; +0x105, 0x1404689e5\npop     r14                                                            ; +0x109, 0x1404689e9\npop     rdi                                                            ; +0x10b, 0x1404689eb\npop     rsi                                                            ; +0x10c, 0x1404689ec\nretn                                                                   ; +0x10d, 0x1404689ed", "xrefs": ["CommentCell::onLike @ 0x140154a5e", "EditorSoundConfigInfoLayer::onLike @ 0x140195b40", "LevelInfoLayer::onLike @ 0x140424050", "LevelListLayer::onLike @ 0x14042f9ca", "<???> @ 0x140927fb0"], "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"}