{"type": "func", "start": 5372500720, "end": 5372501016, "name": "PlayerObject::setOpacity", "pseudocode": "// \n// PlayerObject::setOpacity from 0x14039daf0 to 0x14039dc18 (296 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405c8940\n// > <???> @ 0x1406d6740\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 PlayerObject::setOpacity(PlayerObject *a1, unsigned __int8 a2)\n{\n  GameObject::setOpacity(a1, a2);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(*(_QWORD *)&a1->m_slopeAngle + 320LL) + 40LL))(\n    *(_QWORD *)&a1->m_slopeAngle + 320LL,\n    a2);\n  a1->m_collidedObject->setOpacity(&a1->m_collidedObject->cocos2d::CCRGBAProtocol, a2);\n  a1->m_lastGroundObject->setOpacity(&a1->m_lastGroundObject->cocos2d::CCRGBAProtocol, a2);\n  a1->m_collidingWithLeft->setOpacity(&a1->m_collidingWithLeft->cocos2d::CCRGBAProtocol, a2);\n  a1->m_collidingWithRight->setOpacity(&a1->m_collidingWithRight->cocos2d::CCRGBAProtocol, a2);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(*(_QWORD *)&a1->m_maybeSavedPlayerFrame + 320LL) + 40LL))(\n    *(_QWORD *)&a1->m_maybeSavedPlayerFrame + 320LL,\n    a2);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(*(_QWORD *)&a1->m_scaleXRelated2 + 320LL) + 40LL))(\n    *(_QWORD *)&a1->m_scaleXRelated2 + 320LL,\n    a2);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(*(_QWORD *)&a1->m_groundYVelocity + 320LL) + 40LL))(\n    *(_QWORD *)&a1->m_groundYVelocity + 320LL,\n    a2);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(*(_QWORD *)&a1->m_yVelocityRelated + 320LL) + 40LL))(\n    *(_QWORD *)&a1->m_yVelocityRelated + 320LL,\n    a2);\n  a1->m_vehicleSpriteSecondary->setOpacity(&a1->m_vehicleSpriteSecondary->cocos2d::CCRGBAProtocol, a2);\n  a1->m_birdVehicle->setOpacity(&a1->m_birdVehicle->cocos2d::CCRGBAProtocol, a2);\n}", "assembly": "; \n; PlayerObject::setOpacity from 0x14039daf0 to 0x14039dc18 (296 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405c8940\n; > <???> @ 0x1406d6740\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14039daf0\npush    rdi                                                            ; +0x5, 0x14039daf5\nsub     rsp, 20h                                                       ; +0x6, 0x14039daf6\nmovzx   edi, dl                                                        ; +0xa, 0x14039dafa\nmov     rbx, rcx                                                       ; +0xd, 0x14039dafd\ncall    GameObject__setOpacity                                         ; +0x10, 0x14039db00\nmov     rcx, [rbx+5F8h]                                                ; +0x15, 0x14039db05\nmovzx   edx, dil                                                       ; +0x1c, 0x14039db0c\nadd     rcx, 140h                                                      ; +0x20, 0x14039db10\nmov     rax, [rcx]                                                     ; +0x27, 0x14039db17\ncall    qword ptr [rax+28h]                                            ; +0x2a, 0x14039db1a\nmov     rcx, [rbx+600h]                                                ; +0x2d, 0x14039db1d\nmovzx   edx, dil                                                       ; +0x34, 0x14039db24\nadd     rcx, 140h                                                      ; +0x38, 0x14039db28\nmov     rax, [rcx]                                                     ; +0x3f, 0x14039db2f\ncall    qword ptr [rax+28h]                                            ; +0x42, 0x14039db32\nmov     rcx, [rbx+608h]                                                ; +0x45, 0x14039db35\nmovzx   edx, dil                                                       ; +0x4c, 0x14039db3c\nadd     rcx, 140h                                                      ; +0x50, 0x14039db40\nmov     rax, [rcx]                                                     ; +0x57, 0x14039db47\ncall    qword ptr [rax+28h]                                            ; +0x5a, 0x14039db4a\nmov     rcx, [rbx+610h]                                                ; +0x5d, 0x14039db4d\nmovzx   edx, dil                                                       ; +0x64, 0x14039db54\nadd     rcx, 140h                                                      ; +0x68, 0x14039db58\nmov     rax, [rcx]                                                     ; +0x6f, 0x14039db5f\ncall    qword ptr [rax+28h]                                            ; +0x72, 0x14039db62\nmov     rcx, [rbx+618h]                                                ; +0x75, 0x14039db65\nmovzx   edx, dil                                                       ; +0x7c, 0x14039db6c\nadd     rcx, 140h                                                      ; +0x80, 0x14039db70\nmov     rax, [rcx]                                                     ; +0x87, 0x14039db77\ncall    qword ptr [rax+28h]                                            ; +0x8a, 0x14039db7a\nmov     rcx, [rbx+620h]                                                ; +0x8d, 0x14039db7d\nmovzx   edx, dil                                                       ; +0x94, 0x14039db84\nadd     rcx, 140h                                                      ; +0x98, 0x14039db88\nmov     rax, [rcx]                                                     ; +0x9f, 0x14039db8f\ncall    qword ptr [rax+28h]                                            ; +0xa2, 0x14039db92\nmov     rcx, [rbx+628h]                                                ; +0xa5, 0x14039db95\nmovzx   edx, dil                                                       ; +0xac, 0x14039db9c\nadd     rcx, 140h                                                      ; +0xb0, 0x14039dba0\nmov     rax, [rcx]                                                     ; +0xb7, 0x14039dba7\ncall    qword ptr [rax+28h]                                            ; +0xba, 0x14039dbaa\nmov     rcx, [rbx+630h]                                                ; +0xbd, 0x14039dbad\nmovzx   edx, dil                                                       ; +0xc4, 0x14039dbb4\nadd     rcx, 140h                                                      ; +0xc8, 0x14039dbb8\nmov     rax, [rcx]                                                     ; +0xcf, 0x14039dbbf\ncall    qword ptr [rax+28h]                                            ; +0xd2, 0x14039dbc2\nmov     rcx, [rbx+638h]                                                ; +0xd5, 0x14039dbc5\nmovzx   edx, dil                                                       ; +0xdc, 0x14039dbcc\nadd     rcx, 140h                                                      ; +0xe0, 0x14039dbd0\nmov     rax, [rcx]                                                     ; +0xe7, 0x14039dbd7\ncall    qword ptr [rax+28h]                                            ; +0xea, 0x14039dbda\nmov     rcx, [rbx+760h]                                                ; +0xed, 0x14039dbdd\nmovzx   edx, dil                                                       ; +0xf4, 0x14039dbe4\nadd     rcx, 140h                                                      ; +0xf8, 0x14039dbe8\nmov     rax, [rcx]                                                     ; +0xff, 0x14039dbef\ncall    qword ptr [rax+28h]                                            ; +0x102, 0x14039dbf2\nmov     rcx, [rbx+768h]                                                ; +0x105, 0x14039dbf5\nmovzx   edx, dil                                                       ; +0x10c, 0x14039dbfc\nadd     rcx, 140h                                                      ; +0x110, 0x14039dc00\nmov     rax, [rcx]                                                     ; +0x117, 0x14039dc07\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x11a, 0x14039dc0a\nadd     rsp, 20h                                                       ; +0x11f, 0x14039dc0f\npop     rdi                                                            ; +0x123, 0x14039dc13\njmp     qword ptr [rax+28h]                                            ; +0x124, 0x14039dc14", "xrefs": ["<???> @ 0x1405c8940", "<???> @ 0x1406d6740"], "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"}