{"type": "func", "start": 5721316, "end": 5721424, "name": "CCExtenderNode::setOpacity", "pseudocode": "// \n// CCExtenderNode::setOpacity from 0x574ce4 to 0x574d50 (108 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x70740\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 CCExtenderNode::setOpacity(CCExtenderNode *a1, unsigned int a2)\n{\n  unsigned int v3; // w19\n  cocos2d::CCArray *v4; // x20\n  __int64 v5; // x0\n  bool v6; // cf\n  unsigned int v7; // w1\n\n  v3 = 0;\n  v4 = a1->getChildren(a1);\n  while ( 1 )\n  {\n    v6 = v3 >= (unsigned int)cocos2d::CCArray::count(v4);\n    v7 = v3++;\n    if ( v6 )\n      break;\n    v5 = cocos2d::CCArray::objectAtIndex(v4, v7);\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 896LL))(v5, a2);\n  }\n}", "assembly": "; \n; CCExtenderNode::setOpacity from 0x574ce4 to 0x574d50 (108 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x70740\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x574ce4\nMOV             X29, SP                                                ; +0x4, 0x574ce8\nLDR             X2, [X0]                                               ; +0x8, 0x574cec\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0x574cf0\nMOV             W21, W1                                                ; +0x10, 0x574cf4\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x14, 0x574cf8\nLDR             X1, [X2,#0x1D8]                                        ; +0x18, 0x574cfc\nMOV             W19, #0                                                ; +0x1c, 0x574d00\nBLR             X1                                                     ; +0x20, 0x574d04\nMOV             X20, X0                                                ; +0x24, 0x574d08\nB               loc_574D24                                             ; +0x28, 0x574d0c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x2c, 0x574d10\nLDR             X2, [X0]                                               ; +0x30, 0x574d14\nMOV             W1, W21                                                ; +0x34, 0x574d18\nLDR             X2, [X2,#0x380]                                        ; +0x38, 0x574d1c\nBLR             X2                                                     ; +0x3c, 0x574d20\nMOV             X0, X20; this                                          ; +0x40, 0x574d24\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x44, 0x574d28\nCMP             W19, W0                                                ; +0x48, 0x574d2c\nMOV             W1, W19; unsigned int                                  ; +0x4c, 0x574d30\nMOV             X0, X20; this                                          ; +0x50, 0x574d34\nADD             W19, W19, #1                                           ; +0x54, 0x574d38\nB.CC            loc_574D10                                             ; +0x58, 0x574d3c\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x5c, 0x574d40\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x60, 0x574d44\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x64, 0x574d48\nRET                                                                    ; +0x68, 0x574d4c", "xrefs": ["<???> @ 0x70740"], "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"}