// // EmotePickerPopup::onPickEmote from 0x779538 to 0x779616 (222 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:59:22 +0000 // GameManager *__fastcall EmotePickerPopup::onPickEmote(EmotePickerPopup *this, cocos2d::CCObject *a2, int a3) { GameManager *result; // r0 int v6; // r0 int v7; // r1 const char **v8; // r6 GameManager *v9; // r0 int v10; // r0 int v11; // r8 int v12; // r1 int v13; // r2 int v14[3]; // [sp+4h] [bp-1Ch] BYREF int v15[3]; // [sp+10h] [bp-10h] BYREF result = (GameManager *)EmotePickerPopup::canAddEmote(this, (int)a2, a3, _stack_chk_guard); if ( result ) { v6 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); if ( v6 > 99999 ) v6 -= 100000; result = (GameManager *)EmoteSprite::defAtIndex(v6, v7); v8 = (const char **)result; if ( result ) { v9 = (GameManager *)GameManager::sharedState(result); GameManager::addRecentEmote(v9, *v8); if ( *((_DWORD *)this + 210) ) { memset(v14, 0, sizeof(v14)); std::string::__init(v14, ":", 1u); std::string::append(v14, (char *)*v8); std::string::append(v14, ":"); v11 = *((_DWORD *)this + 210); std::string::basic_string(v15, (int)v14); CCTextInputNode::insertAtCursor(v11, (int)v15); std::string::~string((int)v15); EmotePickerPopup::refreshEnabled((int)this, v12, v13); return (GameManager *)std::string::~string((int)v14); } else { v10 = *((_DWORD *)this + 213); if ( v10 ) (*(void (__fastcall **)(int, EmotePickerPopup *, const char **))(*(_DWORD *)v10 + 4))(v10, this, v8); return (GameManager *)(*(int (__fastcall **)(EmotePickerPopup *, _DWORD))(*(_DWORD *)this + 684))(this, 0); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source