// // SetFolderPopup::setTextPopupClosed from 0x8c4bb0 to 0x8c4cd4 (292 bytes) // // 3 xrefs: // > `non-virtual thunk to'SetFolderPopup::setTextPopupClosed @ 0x8c4cd8 // > @ 0x35790 // > @ 0x119bf78 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall SetFolderPopup::setTextPopupClosed(__int64 a1) { GameLevelManager *v2; // x23 unsigned int v3; // w22 void *v4; // x0 unsigned int *v6; // x2 int v7; // w1 __int64 v8; // [xsp+60h] [xbp+60h] BYREF v2 = GameLevelManager::sharedState(); v3 = *(_DWORD *)(a1 + 648); sub_D18D28(&v8); GameLevelManager::setFolderName((__int64)v2, (const std::string *)v3, (cocos2d::CCString *)&v8, *(_BYTE *)(a1 + 688)); v4 = (void *)(v8 - 24); if ( (__int64 *)(v8 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v6 = (unsigned int *)(v8 - 8); do v7 = __ldaxr(v6); while ( __stlxr(v7 - 1, v6) ); } else { v7 = *(_DWORD *)(v8 - 8); *(_DWORD *)(v8 - 8) = v7 - 1; } if ( v7 <= 0 ) operator delete(v4); } (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1312LL))(a1); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source