{"type": "func", "start": 4299364564, "end": 4299364720, "name": "KeyframeGameObject::setOpacity", "pseudocode": "// \n// KeyframeGameObject::setOpacity from 0x1004318d4 to 0x100431970 (156 bytes)\n// \n// 2 xrefs:\n// > sub_100431970 @ 0x100431974\n// > <???> @ 0x10094ef08\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:06 +0000\n// \n\n__int64 __fastcall KeyframeGameObject::setOpacity(__int64 a1, unsigned int a2)\n{\n  unsigned int v3; // w9\n  __int64 v4; // x19\n  __int64 result; // x0\n  __int64 v6; // x8\n  unsigned int *v7; // x9\n  __int64 v8; // x8\n  __int64 *v9; // x20\n  unsigned __int64 v10; // x21\n\n  v3 = (int)vcvts_n_f32_u32(a2, 1u);\n  if ( *(_BYTE *)(a1 + 1864) )\n    v4 = v3;\n  else\n    v4 = a2;\n  GameObject::setOpacity(a1, v4);\n  result = *(_QWORD *)(a1 + 1824);\n  if ( result )\n    result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 1024LL))(\n               result,\n               *(unsigned __int8 *)(a1 + 329));\n  v6 = *(_QWORD *)(a1 + 1840);\n  if ( v6 )\n  {\n    v7 = *(unsigned int **)(v6 + 56);\n    v8 = *v7;\n    if ( (_DWORD)v8 )\n    {\n      v9 = *((__int64 **)v7 + 2);\n      v10 = (unsigned __int64)&v9[v8 - 1];\n      do\n      {\n        result = *v9;\n        if ( !*v9 )\n          break;\n        result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 912LL))(result, v4);\n        ++v9;\n      }\n      while ( (unsigned __int64)v9 <= v10 );\n    }\n  }\n  return result;\n}", "assembly": "; \n; KeyframeGameObject::setOpacity from 0x1004318d4 to 0x100431970 (156 bytes)\n; \n; 2 xrefs:\n; > sub_100431970 @ 0x100431974\n; > <???> @ 0x10094ef08\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:06 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1004318d4\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1004318d8\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1004318dc\nADD             X29, SP, #0x20                                         ; +0xc, 0x1004318e0\nMOV             X20, X0                                                ; +0x10, 0x1004318e4\nLDRB            W8, [X0,#0x748]                                        ; +0x14, 0x1004318e8\nUCVTF           S0, W1, #1                                             ; +0x18, 0x1004318ec\nFCVTZS          W9, S0                                                 ; +0x1c, 0x1004318f0\nCMP             W8, #0                                                 ; +0x20, 0x1004318f4\nCSEL            W19, W9, W1, NE                                        ; +0x24, 0x1004318f8\nMOV             X1, X19                                                ; +0x28, 0x1004318fc\nBL              GameObject__setOpacity                                 ; +0x2c, 0x100431900\nLDR             X0, [X20,#0x720]                                       ; +0x30, 0x100431904\nCBZ             X0, loc_10043191C                                      ; +0x34, 0x100431908\nLDRB            W1, [X20,#0x149]                                       ; +0x38, 0x10043190c\nLDR             X8, [X0]                                               ; +0x3c, 0x100431910\nLDR             X8, [X8,#0x400]                                        ; +0x40, 0x100431914\nBLR             X8                                                     ; +0x44, 0x100431918\nLDR             X8, [X20,#0x730]                                       ; +0x48, 0x10043191c\nCBZ             X8, loc_100431960                                      ; +0x4c, 0x100431920\nLDR             X9, [X8,#0x38]                                         ; +0x50, 0x100431924\nLDR             W8, [X9]                                               ; +0x54, 0x100431928\nCBZ             W8, loc_100431960                                      ; +0x58, 0x10043192c\nLDR             X20, [X9,#0x10]                                        ; +0x5c, 0x100431930\nADD             X8, X20, X8,LSL#3                                      ; +0x60, 0x100431934\nSUB             X21, X8, #8                                            ; +0x64, 0x100431938\nLDR             X0, [X20]                                              ; +0x68, 0x10043193c\nCBZ             X0, loc_100431960                                      ; +0x6c, 0x100431940\nLDR             X8, [X0]                                               ; +0x70, 0x100431944\nLDR             X8, [X8,#0x390]                                        ; +0x74, 0x100431948\nMOV             X1, X19                                                ; +0x78, 0x10043194c\nBLR             X8                                                     ; +0x7c, 0x100431950\nADD             X20, X20, #8                                           ; +0x80, 0x100431954\nCMP             X20, X21                                               ; +0x84, 0x100431958\nB.LS            loc_10043193C                                          ; +0x88, 0x10043195c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8c, 0x100431960\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x90, 0x100431964\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x94, 0x100431968\nRET                                                                    ; +0x98, 0x10043196c", "xrefs": ["sub_100431970 @ 0x100431974", "<???> @ 0x10094ef08"], "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"}