// // SpriteAnimationManager::storeAnimation from 0x140073b90 to 0x140073e00 (624 bytes) // // 2 xrefs: // > SpriteAnimationManager::loadAnimations @ 0x140072f17 // > @ 0x1406c6318 // // 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 // // Hidden C++ exception states: #wind=2 void __fastcall SpriteAnimationManager::storeAnimation( _QWORD *a1, __int64 a2, __int64 a3, const char *a4, int a5, int a6, __int64 a7) { const char *v10; // rdx cocos2d::CCString *v11; // rax const char *CString; // rax size_t v13; // rbx size_t v14; // r8 void *v15; // rcx const char *v16; // rdx size_t v17; // r8 struct cocos2d::CCString *v18; // rax void *v19; // rcx const char *v20; // rdx struct cocos2d::CCString *v21; // rax void *v22; // rcx void *Block[2]; // [rsp+28h] [rbp-60h] BYREF __int128 v24; // [rsp+38h] [rbp-50h] cocos2d::CCDictionary::setObject(a1[49], a2, a4); cocos2d::CCDictionary::setObject(a1[50], a3, a4); v10 = a4; if ( *((_QWORD *)a4 + 3) > 0xFu ) v10 = *(const char **)a4; v11 = cocos2d::CCString::createWithFormat("%s_first", v10); CString = cocos2d::CCString::getCString(v11); *(_OWORD *)Block = 0; v24 = 0; v13 = -1; v14 = -1; do ++v14; while ( CString[v14] ); sub_14003A930(Block, CString, v14); cocos2d::CCDictionary::setObject(a1[50], a7, Block); if ( *((_QWORD *)&v24 + 1) > 0xFu ) { v15 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v24 + 1) + 1LL) >= 0x1000 ) { v15 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v15 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v15); } v16 = a4; if ( *((_QWORD *)a4 + 3) > 0xFu ) v16 = *(const char **)a4; *(_OWORD *)Block = 0; v24 = 0; v17 = -1; do ++v17; while ( v16[v17] ); sub_14003A930(Block, v16, v17); v18 = cocos2d::CCString::createWithFormat("%i", a6); cocos2d::CCDictionary::setObject(a1[42], v18, Block); if ( *((_QWORD *)&v24 + 1) > 0xFu ) { v19 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v24 + 1) + 1LL) >= 0x1000 ) { v19 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v19 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v19); } v20 = a4; if ( *((_QWORD *)a4 + 3) > 0xFu ) v20 = *(const char **)a4; *(_OWORD *)Block = 0; v24 = 0; do ++v13; while ( v20[v13] ); sub_14003A930(Block, v20, v13); v21 = cocos2d::CCString::createWithFormat("%i", a5); cocos2d::CCDictionary::setObject(a1[41], v21, Block); if ( *((_QWORD *)&v24 + 1) > 0xFu ) { v22 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v24 + 1) + 1LL) >= 0x1000 ) { v22 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v22 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v22); } sub_14003A830((__int64)a4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source