// // SpriteAnimationManager::storeAnimation from 0x58f50c to 0x58f7a8 (668 bytes) // // 2 xrefs: // > SpriteAnimationManager::loadAnimations @ 0x59100c // > @ 0x71b08 // // 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 SpriteAnimationManager::storeAnimation( _QWORD *a1, cocos2d::CCObject *a2, cocos2d::CCObject *a3, const char **a4, unsigned int a5, unsigned int a6, cocos2d::CCObject *a7) { __int64 v12; // x20 cocos2d::CCString *v13; // x0 char *CString; // x0 void *v15; // x0 __int64 v16; // x28 cocos2d::CCObject *v17; // x27 void *v18; // x0 __int64 v19; // x25 cocos2d::CCObject *v20; // x22 void *v21; // x0 unsigned int *v23; // x1 int v24; // w2 unsigned int *v25; // x1 int v26; // w2 unsigned int *v27; // x19 int v28; // w1 __int64 v30; // [xsp+80h] [xbp+80h] BYREF cocos2d::CCDictionary::setObject(a1[46], a2); cocos2d::CCDictionary::setObject(a1[47], a3); v12 = a1[47]; v13 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%s_first", *a4); CString = (char *)cocos2d::CCString::getCString(v13); sub_D153B8((int)&v30, CString); cocos2d::CCDictionary::setObject(v12, a7); v15 = (void *)(v30 - 24); if ( (__int64 *)(v30 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v23 = (unsigned int *)(v30 - 8); do v24 = __ldaxr(v23); while ( __stlxr(v24 - 1, v23) ); } else { v24 = *(_DWORD *)(v30 - 8); *(_DWORD *)(v30 - 8) = v24 - 1; } if ( v24 <= 0 ) operator delete(v15); } v16 = a1[42]; v17 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)a6); sub_D153B8((int)&v30, (char *)*a4); cocos2d::CCDictionary::setObject(v16, v17); v18 = (void *)(v30 - 24); if ( (__int64 *)(v30 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v25 = (unsigned int *)(v30 - 8); do v26 = __ldaxr(v25); while ( __stlxr(v26 - 1, v25) ); } else { v26 = *(_DWORD *)(v30 - 8); *(_DWORD *)(v30 - 8) = v26 - 1; } if ( v26 <= 0 ) operator delete(v18); } v19 = a1[41]; v20 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)a5); sub_D153B8((int)&v30, (char *)*a4); cocos2d::CCDictionary::setObject(v19, v20); v21 = (void *)(v30 - 24); if ( (__int64 *)(v30 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v27 = (unsigned int *)(v30 - 8); do v28 = __ldaxr(v27); while ( __stlxr(v28 - 1, v27) ); } else { v28 = *(_DWORD *)(v30 - 8); *(_DWORD *)(v30 - 8) = v28 - 1; } if ( v28 <= 0 ) operator delete(v21); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source