// // RenameThreadPopup::threadUpdateFinished from 0x753d8c to 0x753e94 (264 bytes) // // 1 xrefs: // > `non-virtual thunk to'RenameThreadPopup::threadUpdateFinished @ 0x753ea0 // // 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:58:53 +0000 // int __fastcall RenameThreadPopup::threadUpdateFinished(RenameThreadPopup *this, int a2, int a3, int a4) { int result; // r0 int v6; // r0 int v7; // r3 int v8; // r3 char *v9; // r1 GameLevelManager *v10; // r0 int v11; // r3 int v12; // r3 char *v13; // r1 int v14; // r0 int v15; // r3 cocos2d::CCNotificationCenter *v16; // r0 RenameThreadPopup *v17; // [sp+0h] [bp-10h] BYREF int v18; // [sp+4h] [bp-Ch] int v19; // [sp+8h] [bp-8h] int v20; // [sp+Ch] [bp-4h] v17 = this; v18 = a2; v19 = a3; v20 = a4; if ( a3 == 2 && a2 == *(_DWORD *)(*((_DWORD *)this + 179) + 52) && *((_BYTE *)this + 740) ) { *((_BYTE *)this + 740) = 0; v6 = GameLevelManager::sharedState(this); v7 = *(unsigned __int8 *)(v6 + 416); if ( (v7 & 1) != 0 ) v8 = *(_DWORD *)(v6 + 420); else v8 = v7 >> 1; if ( v8 ) v9 = (char *)(GameLevelManager::sharedState((GameLevelManager *)v6) + 416); else v9 = (char *)this + 728; v10 = (GameLevelManager *)std::string::basic_string((int *)&v17, (int)v9); if ( ((unsigned __int8)v17 & 1) != 0 ) v11 = v18; else v11 = (int)(unsigned __int8)v17 >> 1; if ( v11 ) { v10 = (GameLevelManager *)std::string::operator=( (unsigned __int8 *)(*((_DWORD *)this + 179) + 72), (unsigned __int8 *)&v17); v12 = *((_DWORD *)this + 180); if ( v12 ) { v10 = *(GameLevelManager **)(v12 + 664); if ( v10 ) { if ( ((unsigned __int8)v17 & 1) != 0 ) v13 = (char *)v19; else v13 = (char *)&v17 + 1; (*(void (__fastcall **)(GameLevelManager *, char *, int))(*(_DWORD *)v10 + 464))( v10, v13, (unsigned __int8)v17 << 31); v10 = (GameLevelManager *)ThreadViewPopup::layoutTitleRow(*((_DWORD *)this + 180)); } } } if ( *((_DWORD *)this + 180) ) { v14 = GameLevelManager::sharedState(v10); v15 = *((_DWORD *)this + 180); if ( v15 ) v15 += 524; *(_DWORD *)(v14 + 840) = v15; } else { v16 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::sharedNotificationCenter(v10); cocos2d::CCNotificationCenter::postNotification(v16, "ThreadsChangedNotification", nullptr); } (*(void (__fastcall **)(RenameThreadPopup *, _DWORD))(*(_DWORD *)this + 684))(this, 0); return std::string::~string((int)&v17); } else { result = *((_DWORD *)this + 180); if ( result ) return (*(int (__fastcall **)(int))(*(_DWORD *)result + 728))(result); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source