// // cocos2d::CCSet::addObject from 0xd4599c to 0xd45ab8 (284 bytes) // // 14 xrefs: // > BoomScrollLayer::claimTouch @ 0x68a7a0 // > BoomScrollLayer::cancelAndStoleTouch @ 0x68a7d8 // > TableView::claimTouch @ 0x696f98 // > TableView::cancelAndStoleTouch @ 0x696fd0 // > cocos2d::CCScheduler::pauseAllTargetsWithMinPriority @ 0xd251c4 // > cocos2d::CCScheduler::pauseAllTargetsWithMinPriority @ 0xd25210 // > cocos2d::CCScheduler::pauseAllTargetsWithMinPriority @ 0xd25268 // > cocos2d::CCScheduler::pauseAllTargetsWithMinPriority @ 0xd25290 // > cocos2d::CCActionManager::pauseAllRunningActions @ 0xd36f38 // > cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel @ 0xd7aeb8 // > cocos2d::CCEGLViewProtocol::handleTouchesBegin @ 0xd7b344 // > cocos2d::CCEGLViewProtocol::handleTouchesMove @ 0xd7b53c // > cocos2d::CCTouchDispatcher::touches @ 0xdb2178 // > @ 0x70420 // // This function is hookable on this platform (idp: arm, 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 13:07:34 +0000 // __int64 __fastcall cocos2d::CCSet::addObject(cocos2d::CCSet *this, cocos2d::CCObject *a2) { __int64 **v4; // x22 __int64 **v5; // x19 __int64 **v6; // x0 unsigned __int64 v7; // x2 bool v8; // cf __int64 *v9; // x2 unsigned __int64 v10; // x2 __int64 *v11; // x0 __int64 *v12; // x1 __int64 **v14; // [xsp+30h] [xbp+30h] if ( a2 ) cocos2d::CCObject::retain((__int64)a2); v4 = *((__int64 ***)this + 7); v5 = v4 + 1; v6 = (__int64 **)v4[1]; if ( v6 ) { v7 = (unsigned __int64)v6[4]; v8 = v7 >= (unsigned __int64)a2; if ( v7 <= (unsigned __int64)a2 ) goto LABEL_7; while ( 1 ) { v9 = *v6; if ( !*v6 ) break; while ( 1 ) { v6 = (__int64 **)v9; v10 = v9[4]; v8 = v10 >= (unsigned __int64)a2; if ( v10 > (unsigned __int64)a2 ) break; LABEL_7: if ( v8 ) return _stack_chk_guard; v9 = v6[1]; if ( !v9 ) { v14 = v6; v5 = v6 + 1; goto LABEL_11; } } } v14 = v6; v5 = v6; } else { v14 = v4 + 1; } LABEL_11: v11 = (__int64 *)operator new(0x28u); v11[4] = (__int64)a2; *v11 = 0; v11[1] = 0; v11[2] = (__int64)v14; *v5 = v11; v12 = (__int64 *)**v4; if ( v12 ) { *v4 = v12; std::__tree_balance_after_insert *>(v4[1], *v5); } else { std::__tree_balance_after_insert *>(v4[1], v11); } v4[2] = (__int64 *)((char *)v4[2] + 1); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source