// // ThreadViewPopup::senderNameFor from 0xc6db2c to 0xc6dd90 (612 bytes) // // 3 xrefs: // > ThreadViewPopup::onMessageOptions @ 0xc799b4 // > ThreadViewPopup::mountVirtualRow @ 0xc8b328 // > @ 0x6c340 // // This function is hookable on this platform (idp: arm, 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 13:05:28 +0000 // __int64 *__usercall ThreadViewPopup::senderNameFor@(ThreadViewPopup *this@, int a2@, __int64 *a3@) { __int64 v6; // x0 GJAccountManager *v7; // x0 __int64 v8; // x0 __int64 v9; // x0 __int64 v10; // x2 __int64 v11; // x1 __int64 v13; // x1 __int64 v14; // x0 size_t v15; // x1 size_t v16; // x2 void *v17; // x1 __int64 v18; // x0 __int64 v19; // x1 cocos2d::CCDictionary **v20; // x0 __int64 v21; // x0 __int64 v22; // x1 __int64 v23; // [xsp+30h] [xbp+30h] BYREF size_t v24; // [xsp+38h] [xbp+38h] void *v25; // [xsp+40h] [xbp+40h] v6 = GJAccountManager::sharedState(_stack_chk_guard); v7 = (GJAccountManager *)(unsigned int)(*(_DWORD *)(v6 + 352) - *(_DWORD *)(v6 + 356)); if ( a2 == (_DWORD)v7 ) { v14 = GJAccountManager::sharedState(v7); v23 = 0; v24 = 0; v25 = nullptr; if ( (*(_BYTE *)(v14 + 328) & 1) != 0 ) { std::string::__init(&v23, *(void **)(v14 + 344), *(_QWORD *)(v14 + 336)); } else { v15 = *(_QWORD *)(v14 + 336); v23 = *(_QWORD *)(v14 + 328); v24 = v15; v25 = *(void **)(v14 + 344); } if ( (v23 & 1) != 0 ) { v16 = v24; if ( v24 ) { LABEL_15: v17 = v25; *a3 = 0; a3[1] = 0; a3[2] = 0; std::string::__init(a3, v17, v16); goto LABEL_16; } } else if ( (int)(unsigned __int8)v23 >> 1 ) { v18 = v23; v19 = v24; a3[2] = (__int64)v25; *a3 = v18; a3[1] = v19; return a3; } *a3 = 0; a3[1] = 0; a3[2] = 0; std::string::__init(a3, "You", 3u); } else { v8 = *((_QWORD *)this + 94); if ( *(_BYTE *)(v8 + 264) && *(_DWORD *)(v8 + 60) == a2 ) { *a3 = 0; v10 = v8 + 64; a3[1] = 0; a3[2] = 0; if ( (*(_BYTE *)(v8 + 64) & 1) == 0 ) { v13 = *(_QWORD *)(v8 + 72); *a3 = *(_QWORD *)(v8 + 64); a3[1] = v13; a3[2] = *(_QWORD *)(v8 + 80); return a3; } goto LABEL_8; } v9 = ThreadViewPopup::senderScoreFor(this, a2); if ( v9 ) { *a3 = 0; v10 = v9 + 320; a3[1] = 0; a3[2] = 0; if ( (*(_BYTE *)(v9 + 320) & 1) == 0 ) { v11 = *(_QWORD *)(v9 + 328); *a3 = *(_QWORD *)v10; a3[1] = v11; a3[2] = *(_QWORD *)(v9 + 336); return a3; } LABEL_8: std::string::__init(a3, *(void **)(v10 + 16), *(_QWORD *)(v10 + 8)); return a3; } v20 = (cocos2d::CCDictionary **)GameLevelManager::sharedState(nullptr); GameLevelManager::tryGetUsername(&v23, v20, a2); if ( (v23 & 1) != 0 ) { v16 = v24; if ( v24 ) goto LABEL_15; } else if ( (int)(unsigned __int8)v23 >> 1 ) { v21 = v23; v22 = v24; a3[2] = (__int64)v25; *a3 = v21; a3[1] = v22; return a3; } *a3 = 0; a3[1] = 0; a3[2] = 0; std::string::__init(a3, "?", 1u); } LABEL_16: if ( (v23 & 1) != 0 ) operator delete(v25); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source