{"type": "func", "start": 6442680768, "end": 6442680878, "name": "cocos2d::CCActionManager::pauseAllRunningActions", "pseudocode": "// \n// cocos2d::CCActionManager::pauseAllRunningActions from 0x1800381c0 to 0x18003822e (110 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0b7c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCSet *__fastcall cocos2d::CCActionManager::pauseAllRunningActions(cocos2d::CCActionManager *this)\n{\n  cocos2d::CCSet *v2; // rax\n  cocos2d::CCSet *v3; // rdi\n  cocos2d::_hashElement *i; // rbx\n\n  v2 = (cocos2d::CCSet *)operator new(0x40u);\n  if ( v2 )\n    v3 = cocos2d::CCSet::CCSet(v2);\n  else\n    v3 = nullptr;\n  cocos2d::CCObject::autorelease(v3);\n  for ( i = this->m_pTargets; i; i = *((cocos2d::_hashElement **)i + 7) )\n  {\n    if ( !*((_BYTE *)i + 33) )\n    {\n      *((_BYTE *)i + 33) = 1;\n      cocos2d::CCSet::addObject(v3, *((struct cocos2d::CCObject **)i + 1));\n    }\n  }\n  return v3;\n}", "assembly": "; \n; cocos2d::CCActionManager::pauseAllRunningActions from 0x1800381c0 to 0x18003822e (110 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0b7c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1800381c0\npush    rdi                                                            ; +0x5, 0x1800381c5\nsub     rsp, 20h                                                       ; +0x6, 0x1800381c6\nmov     rbx, rcx                                                       ; +0xa, 0x1800381ca\nmov     ecx, 40h ; '@'; Size                                           ; +0xd, 0x1800381cd\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x12, 0x1800381d2\nmov     [rsp+28h+arg_0], rax                                           ; +0x17, 0x1800381d7\ntest    rax, rax                                                       ; +0x1c, 0x1800381dc\njz      short loc_1800381EE                                            ; +0x1f, 0x1800381df\nmov     rcx, rax; this                                                 ; +0x21, 0x1800381e1\ncall    ??0CCSet@cocos2d@@QEAA@XZ; cocos2d::CCSet::CCSet(void)         ; +0x24, 0x1800381e4\nmov     rdi, rax                                                       ; +0x29, 0x1800381e9\njmp     short loc_1800381F0                                            ; +0x2c, 0x1800381ec\nxor     edi, edi                                                       ; +0x2e, 0x1800381ee\nmov     rcx, rdi; this                                                 ; +0x30, 0x1800381f0\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x33, 0x1800381f3\nmov     rbx, [rbx+38h]                                                 ; +0x38, 0x1800381f8\ntest    rbx, rbx                                                       ; +0x3c, 0x1800381fc\njz      short loc_180038220                                            ; +0x3f, 0x1800381ff\ncmp     byte ptr [rbx+21h], 0                                          ; +0x41, 0x180038201\njnz     short loc_180038217                                            ; +0x45, 0x180038205\nmov     byte ptr [rbx+21h], 1                                          ; +0x47, 0x180038207\nmov     rdx, [rbx+8]; struct cocos2d::CCObject *                       ; +0x4b, 0x18003820b\nmov     rcx, rdi; this                                                 ; +0x4f, 0x18003820f\ncall    ?addObject@CCSet@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCSet::addObject(cocos2d::CCObject *) ; +0x52, 0x180038212\nmov     rbx, [rbx+38h]                                                 ; +0x57, 0x180038217\ntest    rbx, rbx                                                       ; +0x5b, 0x18003821b\njnz     short loc_180038201                                            ; +0x5e, 0x18003821e\nmov     rax, rdi                                                       ; +0x60, 0x180038220\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x63, 0x180038223\nadd     rsp, 20h                                                       ; +0x68, 0x180038228\npop     rdi                                                            ; +0x6c, 0x18003822c\nretn                                                                   ; +0x6d, 0x18003822d", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b0b7c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}