// // cocos2d::CCActionManager::removeAllActions from 0x180038dc0 to 0x180038f52 (402 bytes) // // 6 xrefs: // > cocos2d::CCActionManager::~CCActionManager @ 0x180037ef3 // > sub_180037F10 @ 0x180037f7c // > @ 0x18013f2b4 // > @ 0x18013f2c4 // > @ 0x18014cf68 // > @ 0x1801bacfc // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:21:36 +0000 // void __fastcall cocos2d::CCActionManager::removeAllActions(cocos2d::CCActionManager *this) { __int64 v1; // rsi __int64 v3; // r9 __int64 v4; // r10 __int64 v5; // r11 int v6; // r8d unsigned int v7; // edx unsigned int v8; // ecx int v9; // r8d unsigned int v10; // edx unsigned int v11; // ecx int v12; // r8d __int64 v13; // rbx __int64 v14; // rcx struct cocos2d::_hashElement *v15; // rbx __int64 v16; // rax v1 = *((_QWORD *)this + 7); while ( v1 ) { v3 = *(_QWORD *)(v1 + 8); v1 = *(_QWORD *)(v1 + 56); if ( v3 ) { v4 = *((_QWORD *)this + 7); if ( v4 ) { v5 = *(_QWORD *)(v4 + 40); v6 = (((BYTE1(v3) + ((BYTE2(v3) + (BYTE3(v3) << 8)) << 8)) << 8) + 17973517 + (unsigned __int8)v3) ^ 0x7F76D; v7 = (-1622558010 - v6) ^ (v6 << 8); v8 = (v7 >> 13) ^ (-17973517 - v7 - v6); v9 = (v8 >> 12) ^ (v6 - v8 - v7); v10 = (v9 << 16) ^ (v7 - v8 - v9); v11 = (v10 >> 5) ^ (v8 - v10 - v9); v12 = (v11 >> 3) ^ (v9 - v11 - v10); v13 = *(_QWORD *)(*(_QWORD *)v5 + 16 * ((unsigned int)(*(_DWORD *)(v5 + 8) - 1) & (((unsigned __int64)((v12 << 10) ^ (v10 - v12 - v11)) >> 15) ^ (v11 - ((v12 << 10) ^ (v10 - v12 - v11)) - v12)))); if ( v13 ) { v14 = *(_QWORD *)(v5 + 32); v15 = (struct cocos2d::_hashElement *)(v13 - v14); if ( v15 ) { while ( *((_DWORD *)v15 + 22) != 4 || **((_DWORD **)v15 + 10) != (_DWORD)v3 ) { v16 = *((_QWORD *)v15 + 9); if ( v16 ) { v15 = (struct cocos2d::_hashElement *)(v16 - v14); if ( v16 != v14 ) continue; } goto LABEL_17; } if ( sub_1800A1470(*(_QWORD *)v15, *((_QWORD *)v15 + 3)) && !*((_BYTE *)v15 + 32) ) { cocos2d::CCObject::retain(*((cocos2d::CCObject **)v15 + 3)); *((_BYTE *)v15 + 32) = 1; } sub_1800A19E0(*(_QWORD *)v15); if ( *((struct cocos2d::_hashElement **)this + 8) == v15 ) *((_BYTE *)this + 72) = 1; else cocos2d::CCActionManager::deleteHashElement(this, v15); } } } } LABEL_17: ; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source