// // ShareCommentLayer::onEmotes from 0x14062ff20 to 0x140630047 (295 bytes) // // 2 xrefs: // > ShareCommentLayer::init @ 0x14062f091 // > @ 0x140930a64 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:35:28 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall ShareCommentLayer::onEmotes(__int64 a1, __int64 a2, __int64 a3, double a4) { __int64 v5; // rbp int v6; // r15d int v7; // r12d __int64 v8; // r14 __int64 v9; // rsi __int64 v10; // rcx const struct cocos2d::CCPoint *v11; // r13 void *v12; // rbx cocos2d::CCObject *v13; // rbx float *v14; // rax char v15; // [rsp+70h] [rbp+8h] BYREF void *v16; // [rsp+80h] [rbp+18h] BYREF v5 = a1 + 680; if ( !a1 ) v5 = 0; ensureEmotesAreLoaded(a1, a2, a3, a4); v6 = dword_1408FE3A4; v7 = *(_DWORD *)(a1 + 688); v8 = *(_QWORD *)(a1 + 704); v9 = *(_QWORD *)(a1 + 712); v10 = *(_QWORD *)(a1 + 720); if ( v10 ) { (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v10 + 1104LL))(v10, 0); LABEL_5: *(_QWORD *)(a1 + 720) = 0; return; } if ( !v9 || !v8 ) goto LABEL_5; v11 = (const struct cocos2d::CCPoint *)EmotePickerPopup::buttonAnchor((__int64)&v15, *(_QWORD *)(a1 + 712)); v12 = operator new(0x4C8u); v16 = v12; memset(v12, 0, 0x4C8u); v13 = (cocos2d::CCObject *)EmotePickerPopup::EmotePickerPopup((__int64)v12); if ( !v13 ) goto LABEL_12; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v16, v11); if ( !EmotePickerPopup::init((__int64)v13, v8, v14, v6, v7) ) { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v13 + 8LL))(v13, 1); LABEL_12: v13 = nullptr; goto LABEL_13; } cocos2d::CCObject::autorelease(v13); LABEL_13: *(_QWORD *)(a1 + 720) = EmotePickerPopup::openAt(v13, v5, v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source