{"type": "func", "start": 3954680, "end": 3954732, "name": "CCExtenderNode::setOpacity", "pseudocode": "// \n// CCExtenderNode::setOpacity from 0x3c57f8 to 0x3c582c (52 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:46:34 +0000\n// \n\nunsigned int __fastcall CCExtenderNode::setOpacity(CCExtenderNode *this, unsigned __int8 a2)\n{\n  int v2; // r5\n  unsigned int v3; // r4\n  cocos2d::CCArray *v4; // r6\n  unsigned int result; // r0\n  int v6; // r0\n\n  v2 = a2;\n  v3 = 0;\n  v4 = (cocos2d::CCArray *)(*(int (__fastcall **)(CCExtenderNode *))(*(_DWORD *)this + 244))(this);\n  while ( 1 )\n  {\n    result = cocos2d::CCArray::count(v4);\n    if ( v3 >= result )\n      break;\n    v6 = cocos2d::CCArray::objectAtIndex(v4, v3++);\n    (*(void (__fastcall **)(int, int))(*(_DWORD *)v6 + 456))(v6, v2);\n  }\n  return result;\n}", "assembly": "; \n; CCExtenderNode::setOpacity from 0x3c57f8 to 0x3c582c (52 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:46:34 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3c57f8\nMOV             R5, R1                                                 ; +0x2, 0x3c57fa\nLDR             R3, [R0]                                               ; +0x4, 0x3c57fc\nUXTB            R5, R5                                                 ; +0x6, 0x3c57fe\nMOVS            R4, #0                                                 ; +0x8, 0x3c5800\nLDR.W           R3, [R3,#0xF4]                                         ; +0xa, 0x3c5802\nBLX             R3                                                     ; +0xe, 0x3c5806\nMOV             R6, R0                                                 ; +0x10, 0x3c5808\nMOV             R0, R6; this                                           ; +0x12, 0x3c580a\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x14, 0x3c580c\nCMP             R4, R0                                                 ; +0x18, 0x3c5810\nBCS             locret_3C582A                                          ; +0x1a, 0x3c5812\nMOV             R1, R4; unsigned int                                   ; +0x1c, 0x3c5814\nMOV             R0, R6; this                                           ; +0x1e, 0x3c5816\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x20, 0x3c5818\nMOV             R1, R5                                                 ; +0x24, 0x3c581c\nADDS            R4, #1                                                 ; +0x26, 0x3c581e\nLDR             R3, [R0]                                               ; +0x28, 0x3c5820\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x2a, 0x3c5822\nBLX             R3                                                     ; +0x2e, 0x3c5826\nB               loc_3C580A                                             ; +0x30, 0x3c5828\nPOP             {R4-R6,PC}                                             ; +0x32, 0x3c582a", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}