// // GameLevelManager::createAndGetLevelComments from 0x718028 to 0x718128 (256 bytes) // // 2 xrefs: // > GameLevelManager::onGetLevelCommentsCompleted @ 0x718340 // > @ 0x5bdd0 // // 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 // cocos2d::CCArray *__fastcall GameLevelManager::createAndGetLevelComments(_QWORD *a1, __int64 a2, int a3) { cocos2d::CCArray *CommentsFull; // x20 void *v5; // x0 unsigned int *v7; // x2 int v8; // w1 __int64 v10; // [xsp+50h] [xbp+50h] BYREF sub_D18D28(&v10); CommentsFull = GameLevelManager::createAndGetCommentsFull(a1, (__int64)&v10, a3, 0); v5 = (void *)(v10 - 24); if ( (__int64 *)(v10 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v7 = (unsigned int *)(v10 - 8); do v8 = __ldaxr(v7); while ( __stlxr(v8 - 1, v7) ); } else { v8 = *(_DWORD *)(v10 - 8); *(_DWORD *)(v10 - 8) = v8 - 1; } if ( v8 <= 0 ) operator delete(v5); } return CommentsFull; }
GD Web Decomp Icon

GD Web Decomp

Raw Source