// // LevelListLayer::shareCommentClosed from 0xa727c8 to 0xa72944 (380 bytes) // // 3 xrefs: // > `non-virtual thunk to'LevelListLayer::shareCommentClosed @ 0xa72948 // > @ 0x5e1b8 // > @ 0x11efb48 // // 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 LevelListLayer::shareCommentClosed(__int64 a1) { __int64 v1; // x22 void *v2; // x0 void *v3; // x0 unsigned int *v5; // x1 int v6; // w2 unsigned int *v7; // x1 int v8; // w2 __int64 v9; // [xsp+38h] [xbp+38h] BYREF __int64 v10; // [xsp+40h] [xbp+40h] BYREF v1 = *(_QWORD *)(a1 + 848); sub_D18D28(&v9); LevelTools::base64EncodeString((cocos2d::ZipUtils *)&v9, &v10); sub_D18EA8(v1 + 432, &v10); v2 = (void *)(v10 - 24); if ( (__int64 *)(v10 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v5 = (unsigned int *)(v10 - 8); do v6 = __ldaxr(v5); while ( __stlxr(v6 - 1, v5) ); } else { v6 = *(_DWORD *)(v10 - 8); *(_DWORD *)(v10 - 8) = v6 - 1; } if ( v6 <= 0 ) operator delete(v2); } v3 = (void *)(v9 - 24); if ( (__int64 *)(v9 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v7 = (unsigned int *)(v9 - 8); do v8 = __ldaxr(v7); while ( __stlxr(v8 - 1, v7) ); } else { v8 = *(_DWORD *)(v9 - 8); *(_DWORD *)(v9 - 8) = v8 - 1; } if ( v8 <= 0 ) operator delete(v3); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source