// // RenameThreadPopup::threadUpdateFinished from 0xc79a2c to 0xc79c0c (480 bytes) // // 3 xrefs: // > `non-virtual thunk to'RenameThreadPopup::threadUpdateFinished @ 0xc79c10 // > @ 0x94b40 // > @ 0x14f1630 // // 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:35 +0000 // __int64 __fastcall RenameThreadPopup::threadUpdateFinished(RenameThreadPopup *this, int a2, int a3) { __int64 v4; // x0 GameLevelManager *v6; // x0 unsigned __int8 *v7; // x2 GameLevelManager *v8; // x0 __int64 v9; // x1 char *v10; // x2 size_t v11; // x1 size_t v12; // x0 __int64 *v13; // x0 char *v14; // x1 size_t v15; // x2 GameLevelManager *v16; // x0 char *v17; // x1 __int64 v18; // x0 __int64 v19; // x2 __int64 v20; // x1 cocos2d::CCNotificationCenter *v21; // x0 __int64 v22; // [xsp+30h] [xbp+30h] BYREF size_t v23; // [xsp+38h] [xbp+38h] void *v24; // [xsp+40h] [xbp+40h] if ( a3 == 2 && *(_DWORD *)(*((_QWORD *)this + 128) + 56LL) == a2 ) { v6 = (GameLevelManager *)*((unsigned __int8 *)this + 1072); if ( *((_BYTE *)this + 1072) ) { *((_BYTE *)this + 1072) = 0; v7 = (unsigned __int8 *)(GameLevelManager::sharedState(v6) + 544); v8 = (GameLevelManager *)*v7; v9 = (unsigned __int8)v8 >> 1; if ( ((unsigned __int8)v8 & 1) != 0 ) v9 = *((_QWORD *)v7 + 1); if ( v9 ) v10 = (char *)(GameLevelManager::sharedState(v8) + 544); else v10 = (char *)this + 1048; v22 = 0; v23 = 0; v24 = nullptr; if ( (*v10 & 1) != 0 ) { std::string::__init(&v22, *((void **)v10 + 2), *((_QWORD *)v10 + 1)); } else { v11 = *((_QWORD *)v10 + 1); v22 = *(_QWORD *)v10; v23 = v11; v24 = *((void **)v10 + 2); } v12 = (unsigned __int8)v22 >> 1; if ( (v22 & 1) != 0 ) v12 = v23; if ( v12 ) { v13 = (__int64 *)(*((_QWORD *)this + 128) + 88LL); if ( v13 != &v22 ) { if ( (v22 & 1) != 0 ) { v14 = (char *)v24; v15 = v23; } else { v15 = (unsigned __int8)v22 >> 1; v14 = (char *)&v22 + 1; } std::string::assign(v13, v14, v15); } v16 = *((GameLevelManager **)this + 129); if ( !v16 ) goto LABEL_31; v16 = *((GameLevelManager **)v16 + 111); if ( !v16 ) { LABEL_26: v18 = GameLevelManager::sharedState(v16); v19 = *((_QWORD *)this + 129); v20 = v19 + 672; if ( !v19 ) v20 = 0; *(_QWORD *)(v18 + 1264) = v20; goto LABEL_29; } v17 = (char *)&v22 + 1; if ( (v22 & 1) != 0 ) v17 = (char *)v24; (*(void (__fastcall **)(GameLevelManager *, char *))(*(_QWORD *)v16 + 928LL))(v16, v17); ThreadViewPopup::layoutTitleRow(*((ThreadViewPopup **)this + 129)); } v16 = *((GameLevelManager **)this + 129); if ( v16 ) goto LABEL_26; LABEL_31: v21 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::sharedNotificationCenter(v16); cocos2d::CCNotificationCenter::postNotification(v21, "ThreadsChangedNotification", nullptr); LABEL_29: (*(void (__fastcall **)(RenameThreadPopup *, _QWORD))(*(_QWORD *)this + 1368LL))(this, 0); if ( (v22 & 1) != 0 ) operator delete(v24); return _stack_chk_guard; } } v4 = *((_QWORD *)this + 129); if ( v4 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1456LL))(v4); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source