{"type": "func", "start": 3037856, "end": 3037908, "name": "CCExtenderNode::setOpacity", "pseudocode": "// \n// CCExtenderNode::setOpacity from 0x2e5aa0 to 0x2e5ad4 (52 bytes)\n// \n// 0 xrefs:\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  int v2; // r5\n  unsigned int v3; // r4\n  cocos2d::CCArray *v4; // r6\n  int v5; // r0\n\n  v2 = (unsigned __int8)a2;\n  v3 = 0;\n  v4 = a1->getChildren(a1);\n  while ( v3 < cocos2d::CCArray::count(v4) )\n  {\n    v5 = cocos2d::CCArray::objectAtIndex(v4, v3++);\n    (*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 448))(v5, v2);\n  }\n}", "assembly": "; \n; CCExtenderNode::setOpacity from 0x2e5aa0 to 0x2e5ad4 (52 bytes)\n; \n; 0 xrefs:\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\nLDR             R3, [R0]                                               ; +0x0, 0x2e5aa0\nPUSH            {R4-R6,LR}                                             ; +0x2, 0x2e5aa2\nMOV             R5, R1                                                 ; +0x4, 0x2e5aa4\nLDR.W           R3, [R3,#0xEC]                                         ; +0x6, 0x2e5aa6\nUXTB            R5, R5                                                 ; +0xa, 0x2e5aaa\nBLX             R3                                                     ; +0xc, 0x2e5aac\nMOVS            R4, #0                                                 ; +0xe, 0x2e5aae\nMOV             R6, R0                                                 ; +0x10, 0x2e5ab0\nMOV             R0, R6; this                                           ; +0x12, 0x2e5ab2\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x14, 0x2e5ab4\nCMP             R4, R0                                                 ; +0x18, 0x2e5ab8\nBCS             locret_2E5AD2                                          ; +0x1a, 0x2e5aba\nMOV             R1, R4; unsigned int                                   ; +0x1c, 0x2e5abc\nMOV             R0, R6; this                                           ; +0x1e, 0x2e5abe\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x20, 0x2e5ac0\nMOV             R1, R5                                                 ; +0x24, 0x2e5ac4\nADDS            R4, #1                                                 ; +0x26, 0x2e5ac6\nLDR             R3, [R0]                                               ; +0x28, 0x2e5ac8\nLDR.W           R3, [R3,#0x1C0]                                        ; +0x2a, 0x2e5aca\nBLX             R3                                                     ; +0x2e, 0x2e5ace\nB               loc_2E5AB2                                             ; +0x30, 0x2e5ad0\nPOP             {R4-R6,PC}                                             ; +0x32, 0x2e5ad2", "xrefs": [], "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"}