{"type": "func", "start": 5373146944, "end": 5373147082, "name": "SetupPulsePopup::updateGroupMainOnly", "pseudocode": "// \n// SetupPulsePopup::updateGroupMainOnly from 0x14043b740 to 0x14043b7ca (138 bytes)\n// \n// 5 xrefs:\n// > SetupPulsePopup::onGroupMainOnly @ 0x14043b72d\n// > SetupPulsePopup::onGroupSecondaryOnly @ 0x14043b7fd\n// > <???> @ 0x1406a1a44\n// > <???> @ 0x1406a1a54\n// > <???> @ 0x1406d9f38\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\nvoid SetupPulsePopup::updateGroupMainOnly(SetupPulsePopup *a1)\n{\n  EffectGameObject *m_gameObject; // rcx\n  cocos2d::CCArray *m_gameObjects; // rcx\n  unsigned int v4; // edi\n  struct cocos2d::CCObject *v5; // rax\n\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_pulseMainOnly = a1->m_groupMainOnly;\n  }\n  else\n  {\n    m_gameObjects = a1->m_gameObjects;\n    if ( m_gameObjects )\n    {\n      v4 = 0;\n      if ( cocos2d::CCArray::count(m_gameObjects) )\n      {\n        do\n        {\n          v5 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v4++);\n          BYTE1(v5[29].m_uAutoReleaseCount) = a1->m_groupMainOnly;\n        }\n        while ( v4 < cocos2d::CCArray::count(a1->m_gameObjects) );\n      }\n    }\n  }\n}", "assembly": "; \n; SetupPulsePopup::updateGroupMainOnly from 0x14043b740 to 0x14043b7ca (138 bytes)\n; \n; 5 xrefs:\n; > SetupPulsePopup::onGroupMainOnly @ 0x14043b72d\n; > SetupPulsePopup::onGroupSecondaryOnly @ 0x14043b7fd\n; > <???> @ 0x1406a1a44\n; > <???> @ 0x1406a1a54\n; > <???> @ 0x1406d9f38\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\npush    rbx                                                            ; +0x0, 0x14043b740\nsub     rsp, 20h                                                       ; +0x2, 0x14043b742\nmov     rbx, rcx                                                       ; +0x6, 0x14043b746\nmov     rcx, [rcx+290h]                                                ; +0x9, 0x14043b749\ntest    rcx, rcx                                                       ; +0x10, 0x14043b750\njz      short loc_14043B768                                            ; +0x13, 0x14043b753\nmovzx   eax, byte ptr [rbx+4A0h]                                       ; +0x15, 0x14043b755\nmov     [rcx+671h], al                                                 ; +0x1c, 0x14043b75c\nadd     rsp, 20h                                                       ; +0x22, 0x14043b762\npop     rbx                                                            ; +0x26, 0x14043b766\nretn                                                                   ; +0x27, 0x14043b767\nmov     rcx, [rbx+298h]                                                ; +0x28, 0x14043b768\ntest    rcx, rcx                                                       ; +0x2f, 0x14043b76f\njz      short loc_14043B7C4                                            ; +0x32, 0x14043b772\nmov     [rsp+28h+arg_0], rdi                                           ; +0x34, 0x14043b774\nxor     edi, edi                                                       ; +0x39, 0x14043b779\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3b, 0x14043b77b\ntest    eax, eax                                                       ; +0x41, 0x14043b781\njz      short loc_14043B7BF                                            ; +0x43, 0x14043b783\nnop     word ptr [rax+rax+00000000h]                                   ; +0x45, 0x14043b785\nmov     rcx, [rbx+298h]                                                ; +0x50, 0x14043b790\nmov     edx, edi                                                       ; +0x57, 0x14043b797\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x59, 0x14043b799\nmovzx   ecx, byte ptr [rbx+4A0h]                                       ; +0x5f, 0x14043b79f\ninc     edi                                                            ; +0x66, 0x14043b7a6\nmov     [rax+671h], cl                                                 ; +0x68, 0x14043b7a8\nmov     rcx, [rbx+298h]                                                ; +0x6e, 0x14043b7ae\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x75, 0x14043b7b5\ncmp     edi, eax                                                       ; +0x7b, 0x14043b7bb\njb      short loc_14043B790                                            ; +0x7d, 0x14043b7bd\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x7f, 0x14043b7bf\nadd     rsp, 20h                                                       ; +0x84, 0x14043b7c4\npop     rbx                                                            ; +0x88, 0x14043b7c8\nretn                                                                   ; +0x89, 0x14043b7c9", "xrefs": ["SetupPulsePopup::onGroupMainOnly @ 0x14043b72d", "SetupPulsePopup::onGroupSecondaryOnly @ 0x14043b7fd", "<???> @ 0x1406a1a44", "<???> @ 0x1406a1a54", "<???> @ 0x1406d9f38"], "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"}