{"type": "func", "start": 3173456, "end": 3173482, "name": "CCSpriteWithHue::getAlpha", "pseudocode": "// \n// CCSpriteWithHue::getAlpha from 0x306c50 to 0x306c6a (26 bytes)\n// \n// 2 xrefs:\n// > CCSpriteWithHue::draw @ 0x306cfe\n// > CCSpriteWithHue::updateColorMatrix @ 0x307000\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\nfloat CCSpriteWithHue::getAlpha(CCSpriteWithHue *a1)\n{\n  return (float)a1->_displayedOpacity / 255.0;\n}", "assembly": "; \n; CCSpriteWithHue::getAlpha from 0x306c50 to 0x306c6a (26 bytes)\n; \n; 2 xrefs:\n; > CCSpriteWithHue::draw @ 0x306cfe\n; > CCSpriteWithHue::updateColorMatrix @ 0x307000\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\nLDRB.W          R3, [R0,#0x10C]                                        ; +0x0, 0x306c50\nVLDR            S14, =255.0                                            ; +0x4, 0x306c54\nVMOV            S15, R3                                                ; +0x8, 0x306c58\nVCVT.F32.S32    S15, S15                                               ; +0xc, 0x306c5c\nVDIV.F32        S15, S15, S14                                          ; +0x10, 0x306c60\nVMOV            R0, S15                                                ; +0x14, 0x306c64\nBX              LR                                                     ; +0x18, 0x306c68", "xrefs": ["CCSpriteWithHue::draw @ 0x306cfe", "CCSpriteWithHue::updateColorMatrix @ 0x307000"], "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"}