{"type": "func", "start": 4297700444, "end": 4297700656, "name": "GJBaseGameLayer::updateGuideArt", "pseudocode": "// \n// GJBaseGameLayer::updateGuideArt from 0x10029b45c to 0x10029b530 (212 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::update @ 0x10029b0e0\n// > GJBaseGameLayer::update @ 0x10029b390\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:02:09 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::updateGuideArt(__int64 result)\n{\n  __int64 v1; // x8\n  unsigned int *v2; // x9\n  __int64 v3; // x8\n  __int64 v4; // x19\n  _QWORD *v5; // x21\n  unsigned __int64 v6; // x22\n  __int64 v7; // x20\n  __n128 v8; // q0\n\n  v1 = *(_QWORD *)(result + 13104);\n  if ( v1 )\n  {\n    v2 = *(unsigned int **)(v1 + 56);\n    v3 = *v2;\n    if ( (_DWORD)v3 )\n    {\n      v4 = result;\n      v5 = *((_QWORD **)v2 + 2);\n      v6 = (unsigned __int64)&v5[v3 - 1];\n      do\n      {\n        v7 = *v5;\n        if ( !*v5 )\n          break;\n        result = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v7 + 512LL))(*v5);\n        if ( *(_BYTE *)(result + 773) == 1 )\n        {\n          if ( *(_DWORD *)(result + 1028) == 84 && *(_BYTE *)(*(_QWORD *)(v4 + 3256) + 2423LL) == 1 )\n            v8.n128_f32[0] = 180.0 - (*(float (__fastcall **)(__int64))(*(_QWORD *)result + 368LL))(result);\n          else\n            v8.n128_f32[0] = -(*(float (__fastcall **)(__int64))(*(_QWORD *)result + 368LL))(result);\n          result = (*(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v7 + 360LL))(v7, v8);\n        }\n        ++v5;\n      }\n      while ( (unsigned __int64)v5 <= v6 );\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::updateGuideArt from 0x10029b45c to 0x10029b530 (212 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::update @ 0x10029b0e0\n; > GJBaseGameLayer::update @ 0x10029b390\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:02:09 +0000\n; \nLDR             X8, [X0,#0x3330]                                       ; +0x0, 0x10029b45c\nCBZ             X8, locret_10029B52C                                   ; +0x4, 0x10029b460\nSTP             X24, X23, [SP,#-0x10+var_30]!                          ; +0x8, 0x10029b464\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0xc, 0x10029b468\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x10, 0x10029b46c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x14, 0x10029b470\nADD             X29, SP, #0x30                                         ; +0x18, 0x10029b474\nLDR             X9, [X8,#0x38]                                         ; +0x1c, 0x10029b478\nLDR             W8, [X9]                                               ; +0x20, 0x10029b47c\nCBZ             W8, loc_10029B51C                                      ; +0x24, 0x10029b480\nMOV             X19, X0                                                ; +0x28, 0x10029b484\nLDR             X21, [X9,#0x10]                                        ; +0x2c, 0x10029b488\nADD             X8, X21, X8,LSL#3                                      ; +0x30, 0x10029b48c\nSUB             X22, X8, #8                                            ; +0x34, 0x10029b490\nMOV             W23, #0x43340000                                       ; +0x38, 0x10029b494\nLDR             X20, [X21]                                             ; +0x3c, 0x10029b498\nCBZ             X20, loc_10029B51C                                     ; +0x40, 0x10029b49c\nLDR             X8, [X20]                                              ; +0x44, 0x10029b4a0\nLDR             X8, [X8,#0x200]                                        ; +0x48, 0x10029b4a4\nMOV             X0, X20                                                ; +0x4c, 0x10029b4a8\nBLR             X8                                                     ; +0x50, 0x10029b4ac\nLDRB            W8, [X0,#0x305]                                        ; +0x54, 0x10029b4b0\nCMP             W8, #1                                                 ; +0x58, 0x10029b4b4\nB.NE            loc_10029B510                                          ; +0x5c, 0x10029b4b8\nLDR             W8, [X0,#0x404]                                        ; +0x60, 0x10029b4bc\nCMP             W8, #0x54 ; 'T'                                        ; +0x64, 0x10029b4c0\nB.NE            loc_10029B4F0                                          ; +0x68, 0x10029b4c4\nLDR             X8, [X19,#0xCB8]                                       ; +0x6c, 0x10029b4c8\nLDRB            W8, [X8,#0x977]                                        ; +0x70, 0x10029b4cc\nCMP             W8, #1                                                 ; +0x74, 0x10029b4d0\nB.NE            loc_10029B4F0                                          ; +0x78, 0x10029b4d4\nLDR             X8, [X0]                                               ; +0x7c, 0x10029b4d8\nLDR             X8, [X8,#0x170]                                        ; +0x80, 0x10029b4dc\nBLR             X8                                                     ; +0x84, 0x10029b4e0\nFMOV            S1, W23                                                ; +0x88, 0x10029b4e4\nFSUB            S0, S1, S0                                             ; +0x8c, 0x10029b4e8\nB               loc_10029B500                                          ; +0x90, 0x10029b4ec\nLDR             X8, [X0]                                               ; +0x94, 0x10029b4f0\nLDR             X8, [X8,#0x170]                                        ; +0x98, 0x10029b4f4\nBLR             X8                                                     ; +0x9c, 0x10029b4f8\nFNEG            S0, S0                                                 ; +0xa0, 0x10029b4fc\nLDR             X8, [X20]                                              ; +0xa4, 0x10029b500\nLDR             X8, [X8,#0x168]                                        ; +0xa8, 0x10029b504\nMOV             X0, X20                                                ; +0xac, 0x10029b508\nBLR             X8                                                     ; +0xb0, 0x10029b50c\nADD             X21, X21, #8                                           ; +0xb4, 0x10029b510\nCMP             X21, X22                                               ; +0xb8, 0x10029b514\nB.LS            loc_10029B498                                          ; +0xbc, 0x10029b518\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc0, 0x10029b51c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xc4, 0x10029b520\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0xc8, 0x10029b524\nLDP             X24, X23, [SP+0x30+var_30],#0x40                       ; +0xcc, 0x10029b528\nRET                                                                    ; +0xd0, 0x10029b52c", "xrefs": ["GJBaseGameLayer::update @ 0x10029b0e0", "GJBaseGameLayer::update @ 0x10029b390"], "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"}