// // cocos2d::CCScheduler::pauseAllTargetsWithMinPriority from 0xd25178 to 0xd252a0 (296 bytes) // // 2 xrefs: // > cocos2d::CCScheduler::pauseAllTargets @ 0xd252a4 // > @ 0xbe498 // // 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:13 +0000 // cocos2d::CCSet *__fastcall cocos2d::CCScheduler::pauseAllTargetsWithMinPriority(cocos2d::CCScheduler *this, int a2) { cocos2d::CCSet *v4; // x20 __int64 i; // x19 cocos2d::CCObject *v6; // x1 __int64 v7; // x2 __int64 v8; // x19 cocos2d::CCObject *v9; // x1 __int64 v11; // x2 __int64 v12; // x19 cocos2d::CCObject *v13; // x1 __int64 v14; // x2 cocos2d::CCObject *v15; // x1 __int64 v16; // x19 v4 = (cocos2d::CCSet *)operator new(0x40u); cocos2d::CCSet::CCSet(v4); cocos2d::CCObject::autorelease(v4); for ( i = *((_QWORD *)this + 12); i; i = *(_QWORD *)(i + 56) ) { v6 = *(cocos2d::CCObject **)(i + 8); *(_BYTE *)(i + 33) = 1; cocos2d::CCSet::addObject(v4, v6); } if ( a2 < 0 ) { v11 = *((_QWORD *)this + 8); if ( v11 ) { do { while ( 1 ) { v12 = *(_QWORD *)(v11 + 8); if ( a2 <= *(_DWORD *)(v11 + 24) ) break; v11 = *(_QWORD *)(v11 + 8); if ( !v12 ) goto LABEL_16; } v13 = *(cocos2d::CCObject **)(v11 + 16); *(_BYTE *)(v11 + 28) = 1; cocos2d::CCSet::addObject(v4, v13); v11 = v12; } while ( v12 ); } } else if ( a2 ) { goto LABEL_5; } LABEL_16: v14 = *((_QWORD *)this + 9); if ( v14 ) { do { v15 = *(cocos2d::CCObject **)(v14 + 16); v16 = *(_QWORD *)(v14 + 8); *(_BYTE *)(v14 + 28) = 1; cocos2d::CCSet::addObject(v4, v15); v14 = v16; } while ( v16 ); } LABEL_5: v7 = *((_QWORD *)this + 10); if ( v7 ) { do { while ( 1 ) { v8 = *(_QWORD *)(v7 + 8); if ( a2 <= *(_DWORD *)(v7 + 24) ) break; v7 = *(_QWORD *)(v7 + 8); if ( !v8 ) return v4; } v9 = *(cocos2d::CCObject **)(v7 + 16); *(_BYTE *)(v7 + 28) = 1; cocos2d::CCSet::addObject(v4, v9); v7 = v8; } while ( v8 ); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source