{"type": "func", "start": 5373250032, "end": 5373250320, "name": "SetupShaderEffectPopup::toggleGroup", "pseudocode": "// \n// SetupShaderEffectPopup::toggleGroup from 0x1404549f0 to 0x140454b10 (288 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1405f2aa0\n// > <???> @ 0x1406a33a8\n// > <???> @ 0x1406a33e0\n// > <???> @ 0x1406da85c\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 SetupShaderEffectPopup::toggleGroup(SetupShaderEffectPopup *a1, int a2, bool a3)\n{\n  BOOL v4; // ebp\n  cocos2d::CCArray *GroupContainer; // r15\n  unsigned int i; // edi\n  struct cocos2d::CCObject *v7; // rbx\n  int v8; // eax\n  struct cocos2d::CCObject *v9; // rax\n  struct cocos2d::CCObject *v10; // rsi\n  cocos2d::CCObject_vtbl *v11; // rbx\n  unsigned __int8 v12; // al\n\n  v4 = a3;\n  GroupContainer = SetupTriggerPopup::getGroupContainer(a1, a2);\n  GroupContainer->setTag(GroupContainer, v4);\n  for ( i = 0; i < cocos2d::CCArray::count(GroupContainer); ++i )\n  {\n    v7 = cocos2d::CCArray::objectAtIndex(GroupContainer, i);\n    if ( !cocos2d::CCDictionary::objectForKey(a1->m_disabledEasingButtons, v7->m_uID) )\n      ((void (__fastcall *)(struct cocos2d::CCObject *, BOOL))v7->__vftable[4].update)(v7, v4);\n    v8 = v7->getTag(v7);\n    v9 = cocos2d::CCDictionary::objectForKey(a1->m_inputNodes, v8);\n    v10 = v9;\n    if ( v9 )\n    {\n      v11 = v9->__vftable;\n      v12 = ((__int64 (__fastcall *)(struct cocos2d::CCObject *))v9->__vftable[4].encodeWithCoder)(v9);\n      v11[12].encodeWithCoder(v10, (DS_Dictionary *)v12);\n    }\n  }\n  if ( a1->getValue(a1, 513) == 0.0 )\n    SetupTriggerPopup::toggleDisableButtons(a1, 0);\n  else\n    SetupTriggerPopup::toggleDisableButtons(a1, 1);\n}", "assembly": "; \n; SetupShaderEffectPopup::toggleGroup from 0x1404549f0 to 0x140454b10 (288 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1405f2aa0\n; > <???> @ 0x1406a33a8\n; > <???> @ 0x1406a33e0\n; > <???> @ 0x1406da85c\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    r14                                                            ; +0x0, 0x1404549f0\nsub     rsp, 30h                                                       ; +0x2, 0x1404549f2\nmov     [rsp+38h+arg_8], rbp                                           ; +0x6, 0x1404549f6\nmov     r14, rcx                                                       ; +0xb, 0x1404549fb\nmov     [rsp+38h+var_10], rdi                                          ; +0xe, 0x1404549fe\nmov     [rsp+38h+var_18], r15                                          ; +0x13, 0x140454a03\nmovzx   ebp, r8b                                                       ; +0x18, 0x140454a08\ncall    SetupTriggerPopup__getGroupContainer                           ; +0x1c, 0x140454a0c\nmov     edx, ebp                                                       ; +0x21, 0x140454a11\nmov     rcx, rax                                                       ; +0x23, 0x140454a13\nmov     r15, rax                                                       ; +0x26, 0x140454a16\nmov     r9, [rax]                                                      ; +0x29, 0x140454a19\ncall    qword ptr [r9+40h]                                             ; +0x2c, 0x140454a1c\nmov     rcx, r15                                                       ; +0x30, 0x140454a20\nxor     edi, edi                                                       ; +0x33, 0x140454a23\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x35, 0x140454a25\ntest    eax, eax                                                       ; +0x3b, 0x140454a2b\njz      loc_140454AC6                                                  ; +0x3d, 0x140454a2d\nmov     [rsp+38h+arg_0], rbx                                           ; +0x43, 0x140454a33\nmov     [rsp+38h+arg_10], rsi                                          ; +0x48, 0x140454a38\nnop     dword ptr [rax]                                                ; +0x4d, 0x140454a3d\nmov     edx, edi                                                       ; +0x50, 0x140454a40\nmov     rcx, r15                                                       ; +0x52, 0x140454a42\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x55, 0x140454a45\nmov     rcx, [r14+388h]                                                ; +0x5b, 0x140454a4b\nmov     rbx, rax                                                       ; +0x62, 0x140454a52\nmov     edx, [rax+8]                                                   ; +0x65, 0x140454a55\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x68, 0x140454a58\ntest    rax, rax                                                       ; +0x6e, 0x140454a5e\njnz     short loc_140454A74                                            ; +0x71, 0x140454a61\nmov     r8, [rbx]                                                      ; +0x73, 0x140454a63\nmovzx   edx, bpl                                                       ; +0x76, 0x140454a66\nmov     rcx, rbx                                                       ; +0x7a, 0x140454a6a\ncall    qword ptr [r8+140h]                                            ; +0x7d, 0x140454a6d\nmov     rdx, [rbx]                                                     ; +0x84, 0x140454a74\nmov     rcx, rbx                                                       ; +0x87, 0x140454a77\ncall    qword ptr [rdx+38h]                                            ; +0x8a, 0x140454a7a\nmov     rcx, [r14+2D8h]                                                ; +0x8d, 0x140454a7d\nmovsxd  rdx, eax                                                       ; +0x94, 0x140454a84\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x97, 0x140454a87\nmov     rsi, rax                                                       ; +0x9d, 0x140454a8d\ntest    rax, rax                                                       ; +0xa0, 0x140454a90\njz      short loc_140454AAD                                            ; +0xa3, 0x140454a93\nmov     rbx, [rax]                                                     ; +0xa5, 0x140454a95\nmov     rcx, rax                                                       ; +0xa8, 0x140454a98\ncall    qword ptr [rbx+148h]                                           ; +0xab, 0x140454a9b\nmovzx   edx, al                                                        ; +0xb1, 0x140454aa1\nmov     rcx, rsi                                                       ; +0xb4, 0x140454aa4\ncall    qword ptr [rbx+388h]                                           ; +0xb7, 0x140454aa7\nmov     rcx, r15                                                       ; +0xbd, 0x140454aad\ninc     edi                                                            ; +0xc0, 0x140454ab0\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xc2, 0x140454ab2\ncmp     edi, eax                                                       ; +0xc8, 0x140454ab8\njb      short loc_140454A40                                            ; +0xca, 0x140454aba\nmov     rsi, [rsp+38h+arg_10]                                          ; +0xcc, 0x140454abc\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xd1, 0x140454ac1\nmov     rax, [r14]                                                     ; +0xd6, 0x140454ac6\nmov     edx, 201h                                                      ; +0xd9, 0x140454ac9\nmov     rcx, r14                                                       ; +0xde, 0x140454ace\ncall    qword ptr [rax+470h]                                           ; +0xe1, 0x140454ad1\nmov     r15, [rsp+38h+var_18]                                          ; +0xe7, 0x140454ad7\nxorps   xmm1, xmm1                                                     ; +0xec, 0x140454adc\nucomiss xmm0, xmm1                                                     ; +0xef, 0x140454adf\nmov     rdi, [rsp+38h+var_10]                                          ; +0xf2, 0x140454ae2\nmov     rbp, [rsp+38h+arg_8]                                           ; +0xf7, 0x140454ae7\njp      short loc_140454B00                                            ; +0xfc, 0x140454aec\njnz     short loc_140454B00                                            ; +0xfe, 0x140454aee\nxor     edx, edx                                                       ; +0x100, 0x140454af0\nmov     rcx, r14                                                       ; +0x102, 0x140454af2\nadd     rsp, 30h                                                       ; +0x105, 0x140454af5\npop     r14                                                            ; +0x109, 0x140454af9\njmp     SetupTriggerPopup__toggleDisableButtons                        ; +0x10b, 0x140454afb\nmov     dl, 1                                                          ; +0x110, 0x140454b00\nmov     rcx, r14                                                       ; +0x112, 0x140454b02\nadd     rsp, 30h                                                       ; +0x115, 0x140454b05\npop     r14                                                            ; +0x119, 0x140454b09\njmp     SetupTriggerPopup__toggleDisableButtons                        ; +0x11b, 0x140454b0b", "xrefs": ["<???> @ 0x1405f2aa0", "<???> @ 0x1406a33a8", "<???> @ 0x1406a33e0", "<???> @ 0x1406da85c"], "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"}