{"type": "func", "start": 4299434244, "end": 4299434364, "name": "MenuGameLayer::updateColors", "pseudocode": "// \n// MenuGameLayer::updateColors from 0x100442904 to 0x10044297c (120 bytes)\n// \n// 1 xrefs:\n// > MenuGameLayer::update @ 0x1004429c8\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:12 +0000\n// \n\n__int64 __fastcall MenuGameLayer::updateColors(__int64 a1)\n{\n  __int64 v2; // x20\n  unsigned __int16 *v3; // x0\n  __int64 v4; // x19\n  __int64 result; // x0\n  unsigned __int16 *v6; // x0\n\n  v2 = *(_QWORD *)(a1 + 448);\n  v3 = (unsigned __int16 *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v2 + 408) + 944LL))(*(_QWORD *)(v2 + 408));\n  GJGroundLayer::updateGround01Color(v2, *v3 | (*((unsigned __int8 *)v3 + 2) << 16));\n  v4 = *(_QWORD *)(a1 + 448);\n  result = *(_QWORD *)(v4 + 416);\n  if ( result )\n  {\n    v6 = (unsigned __int16 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 944LL))(result);\n    return GJGroundLayer::updateGround02Color(v4, *v6 | (*((unsigned __int8 *)v6 + 2) << 16));\n  }\n  return result;\n}", "assembly": "; \n; MenuGameLayer::updateColors from 0x100442904 to 0x10044297c (120 bytes)\n; \n; 1 xrefs:\n; > MenuGameLayer::update @ 0x1004429c8\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:12 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100442904\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100442908\nADD             X29, SP, #0x10                                         ; +0x8, 0x10044290c\nMOV             X19, X0                                                ; +0xc, 0x100442910\nLDR             X20, [X0,#0x1C0]                                       ; +0x10, 0x100442914\nLDR             X0, [X20,#0x198]                                       ; +0x14, 0x100442918\nLDR             X8, [X0]                                               ; +0x18, 0x10044291c\nLDR             X8, [X8,#0x3B0]                                        ; +0x1c, 0x100442920\nBLR             X8                                                     ; +0x20, 0x100442924\nLDRB            W8, [X0,#2]                                            ; +0x24, 0x100442928\nLDRH            W9, [X0]                                               ; +0x28, 0x10044292c\nORR             X1, X9, X8,LSL#16                                      ; +0x2c, 0x100442930\nMOV             X0, X20                                                ; +0x30, 0x100442934\nBL              GJGroundLayer__updateGround01Color                     ; +0x34, 0x100442938\nLDR             X19, [X19,#0x1C0]                                      ; +0x38, 0x10044293c\nLDR             X0, [X19,#0x1A0]                                       ; +0x3c, 0x100442940\nCBZ             X0, loc_100442970                                      ; +0x40, 0x100442944\nLDR             X8, [X0]                                               ; +0x44, 0x100442948\nLDR             X8, [X8,#0x3B0]                                        ; +0x48, 0x10044294c\nBLR             X8                                                     ; +0x4c, 0x100442950\nLDRB            W8, [X0,#2]                                            ; +0x50, 0x100442954\nLDRH            W9, [X0]                                               ; +0x54, 0x100442958\nORR             X1, X9, X8,LSL#16                                      ; +0x58, 0x10044295c\nMOV             X0, X19                                                ; +0x5c, 0x100442960\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x60, 0x100442964\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x64, 0x100442968\nB               GJGroundLayer__updateGround02Color                     ; +0x68, 0x10044296c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x6c, 0x100442970\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x70, 0x100442974\nRET                                                                    ; +0x74, 0x100442978", "xrefs": ["MenuGameLayer::update @ 0x1004429c8"], "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"}