// // GameLevelManager::onSetLevelFeaturedCompleted from 0x6f6a48 to 0x6f6af8 (176 bytes) // // 2 xrefs: // > GameLevelManager::handleIt @ 0x732ce4 // > @ 0x348a8 // // 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 GameLevelManager::onSetLevelFeaturedCompleted() { void *v0; // x0 unsigned int *v2; // x2 int v3; // w1 __int64 v4; // [xsp+30h] [xbp+30h] BYREF sub_D153B8((int)&v4, "-1"); v0 = (void *)(v4 - 24); if ( (__int64 *)(v4 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v2 = (unsigned int *)(v4 - 8); do v3 = __ldaxr(v2); while ( __stlxr(v3 - 1, v2) ); } else { v3 = *(_DWORD *)(v4 - 8); *(_DWORD *)(v4 - 8) = v3 - 1; } if ( v3 <= 0 ) operator delete(v0); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source