{"type": "func", "start": 4299334248, "end": 4299334444, "name": "AnimatedGameObject::setOpacity", "pseudocode": "// \n// AnimatedGameObject::setOpacity from 0x10042a268 to 0x10042a32c (196 bytes)\n// \n// 2 xrefs:\n// > sub_10042A32C @ 0x10042a330\n// > <???> @ 0x10094d6b0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:05:03 +0000\n// \n\n__int64 __fastcall AnimatedGameObject::setOpacity(__int64 a1, unsigned int a2)\n{\n  __int64 v3; // x19\n  __int64 result; // x0\n  __int64 v5; // x20\n  unsigned int v6; // w21\n  __int64 v7; // x0\n\n  GameObject::setOpacity(a1, a2);\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 896LL))(a1);\n  (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1464) + 912LL))(*(_QWORD *)(a1 + 1464), v3);\n  result = *(_QWORD *)(a1 + 1472);\n  if ( result )\n  {\n    if ( *(_BYTE *)(a1 + 1020) )\n      v3 = 0;\n    else\n      v3 = (unsigned int)v3;\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 912LL))(result, v3);\n    v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1472) + 488LL))(*(_QWORD *)(a1 + 1472));\n    result = sub_1002E757C(v5);\n    if ( (_DWORD)result )\n    {\n      v6 = 0;\n      do\n      {\n        v7 = sub_1002E75A0(v5, v6);\n        (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 912LL))(v7, v3);\n        ++v6;\n        result = sub_1002E757C(v5);\n      }\n      while ( v6 < (unsigned int)result );\n    }\n  }\n  return result;\n}", "assembly": "; \n; AnimatedGameObject::setOpacity from 0x10042a268 to 0x10042a32c (196 bytes)\n; \n; 2 xrefs:\n; > sub_10042A32C @ 0x10042a330\n; > <???> @ 0x10094d6b0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:05:03 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x10042a268\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10042a26c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10042a270\nADD             X29, SP, #0x20                                         ; +0xc, 0x10042a274\nMOV             X20, X0                                                ; +0x10, 0x10042a278\nBL              GameObject__setOpacity                                 ; +0x14, 0x10042a27c\nLDR             X8, [X20]                                              ; +0x18, 0x10042a280\nLDR             X8, [X8,#0x380]                                        ; +0x1c, 0x10042a284\nMOV             X0, X20                                                ; +0x20, 0x10042a288\nBLR             X8                                                     ; +0x24, 0x10042a28c\nMOV             X19, X0                                                ; +0x28, 0x10042a290\nLDR             X0, [X20,#0x5B8]                                       ; +0x2c, 0x10042a294\nLDR             X8, [X0]                                               ; +0x30, 0x10042a298\nLDR             X8, [X8,#0x390]                                        ; +0x34, 0x10042a29c\nMOV             X1, X19                                                ; +0x38, 0x10042a2a0\nBLR             X8                                                     ; +0x3c, 0x10042a2a4\nLDR             X0, [X20,#0x5C0]                                       ; +0x40, 0x10042a2a8\nCBZ             X0, loc_10042A31C                                      ; +0x44, 0x10042a2ac\nLDRB            W8, [X20,#0x3FC]                                       ; +0x48, 0x10042a2b0\nCMP             W8, #0                                                 ; +0x4c, 0x10042a2b4\nCSEL            W19, WZR, W19, NE                                      ; +0x50, 0x10042a2b8\nLDR             X8, [X0]                                               ; +0x54, 0x10042a2bc\nLDR             X8, [X8,#0x390]                                        ; +0x58, 0x10042a2c0\nMOV             X1, X19                                                ; +0x5c, 0x10042a2c4\nBLR             X8                                                     ; +0x60, 0x10042a2c8\nLDR             X0, [X20,#0x5C0]                                       ; +0x64, 0x10042a2cc\nLDR             X8, [X0]                                               ; +0x68, 0x10042a2d0\nLDR             X8, [X8,#0x1E8]                                        ; +0x6c, 0x10042a2d4\nBLR             X8                                                     ; +0x70, 0x10042a2d8\nMOV             X20, X0                                                ; +0x74, 0x10042a2dc\nBL              sub_1002E757C                                          ; +0x78, 0x10042a2e0\nCBZ             W0, loc_10042A31C                                      ; +0x7c, 0x10042a2e4\nMOV             W21, #0                                                ; +0x80, 0x10042a2e8\nMOV             X0, X20                                                ; +0x84, 0x10042a2ec\nMOV             X1, X21                                                ; +0x88, 0x10042a2f0\nBL              sub_1002E75A0                                          ; +0x8c, 0x10042a2f4\nLDR             X8, [X0]                                               ; +0x90, 0x10042a2f8\nLDR             X8, [X8,#0x390]                                        ; +0x94, 0x10042a2fc\nMOV             X1, X19                                                ; +0x98, 0x10042a300\nBLR             X8                                                     ; +0x9c, 0x10042a304\nADD             W21, W21, #1                                           ; +0xa0, 0x10042a308\nMOV             X0, X20                                                ; +0xa4, 0x10042a30c\nBL              sub_1002E757C                                          ; +0xa8, 0x10042a310\nCMP             W21, W0                                                ; +0xac, 0x10042a314\nB.CC            loc_10042A2EC                                          ; +0xb0, 0x10042a318\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xb4, 0x10042a31c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xb8, 0x10042a320\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xbc, 0x10042a324\nRET                                                                    ; +0xc0, 0x10042a328", "xrefs": ["sub_10042A32C @ 0x10042a330", "<???> @ 0x10094d6b0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}