{"type": "func", "start": 4296216720, "end": 4296216916, "name": "GJBaseGameLayer::updateGuideArt", "pseudocode": "// \n// GJBaseGameLayer::updateGuideArt from 0x100131090 to 0x100131154 (196 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 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 12:24:47 +0000\n// \n\nunsigned int *__fastcall GJBaseGameLayer::updateGuideArt(__int64 a1, __m128 a2)\n{\n  unsigned int *result; // rax\n  _QWORD *v3; // r15\n  unsigned __int64 v4; // r12\n  __int64 v5; // r14\n  double v6; // xmm0_8\n  float v7; // xmm1_4\n\n  result = *(unsigned int **)(a1 + 13104);\n  if ( result )\n  {\n    result = *((unsigned int **)result + 7);\n    if ( *result )\n    {\n      v3 = *((_QWORD **)result + 2);\n      v4 = (unsigned __int64)&v3[*result - 1];\n      do\n      {\n        v5 = *v3;\n        if ( !*v3 )\n          break;\n        result = (unsigned int *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v5 + 512LL))(*v3);\n        if ( *((_BYTE *)result + 773) == 1 )\n        {\n          if ( result[257] == 84 && *(_BYTE *)(*(_QWORD *)(a1 + 3256) + 2423LL) == 1 )\n          {\n            v6 = (*(double (__fastcall **)(unsigned int *))(*(_QWORD *)result + 368LL))(result);\n            v7 = *(float *)&v6;\n            a2 = (__m128)0x43340000u;\n            a2.f32[0] = 180.0 - v7;\n          }\n          else\n          {\n            *(double *)a2.i64 = (*(double (__fastcall **)(unsigned int *))(*(_QWORD *)result + 368LL))(result);\n            a2 = _mm_xor_ps(a2, (__m128)xmmword_100A035F0);\n          }\n          result = (unsigned int *)(*(__int64 (__fastcall **)(__int64, double))(*(_QWORD *)v5 + 360LL))(\n                                     v5,\n                                     *(double *)a2.i64);\n        }\n        ++v3;\n      }\n      while ( (unsigned __int64)v3 <= v4 );\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::updateGuideArt from 0x100131090 to 0x100131154 (196 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 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 12:24:47 +0000\n; \nmov     rax, [rdi+3330h]                                               ; +0x0, 0x100131090\ntest    rax, rax                                                       ; +0x7, 0x100131097\njz      locret_100131153                                               ; +0xa, 0x10013109a\npush    rbp                                                            ; +0x10, 0x1001310a0\nmov     rbp, rsp                                                       ; +0x11, 0x1001310a1\npush    r15                                                            ; +0x14, 0x1001310a4\npush    r14                                                            ; +0x16, 0x1001310a6\npush    r12                                                            ; +0x18, 0x1001310a8\npush    rbx                                                            ; +0x1a, 0x1001310aa\nmov     rax, [rax+38h]                                                 ; +0x1b, 0x1001310ab\nmov     ecx, [rax]                                                     ; +0x1f, 0x1001310af\ntest    rcx, rcx                                                       ; +0x21, 0x1001310b1\njz      loc_10013114B                                                  ; +0x24, 0x1001310b4\nmov     rbx, rdi                                                       ; +0x2a, 0x1001310ba\nmov     r15, [rax+10h]                                                 ; +0x2d, 0x1001310bd\nlea     r12, [r15+rcx*8]                                               ; +0x31, 0x1001310c1\nadd     r12, 0FFFFFFFFFFFFFFF8h                                        ; +0x35, 0x1001310c5\njmp     short loc_1001310F8                                            ; +0x39, 0x1001310c9\nalign 10h                                                              ; +0x3b, 0x1001310cb\nmov     rcx, [rax]                                                     ; +0x40, 0x1001310d0\nmov     rdi, rax                                                       ; +0x43, 0x1001310d3\ncall    qword ptr [rcx+170h]                                           ; +0x46, 0x1001310d6\nxorps   xmm0, cs:xmmword_100A035F0                                     ; +0x4c, 0x1001310dc\nmov     rax, [r14]                                                     ; +0x53, 0x1001310e3\nmov     rdi, r14                                                       ; +0x56, 0x1001310e6\ncall    qword ptr [rax+168h]                                           ; +0x59, 0x1001310e9\nadd     r15, 8                                                         ; +0x5f, 0x1001310ef\ncmp     r15, r12                                                       ; +0x63, 0x1001310f3\nja      short loc_10013114B                                            ; +0x66, 0x1001310f6\nmov     r14, [r15]                                                     ; +0x68, 0x1001310f8\ntest    r14, r14                                                       ; +0x6b, 0x1001310fb\njz      short loc_10013114B                                            ; +0x6e, 0x1001310fe\nmov     rax, [r14]                                                     ; +0x70, 0x100131100\nmov     rdi, r14                                                       ; +0x73, 0x100131103\ncall    qword ptr [rax+200h]                                           ; +0x76, 0x100131106\ncmp     byte ptr [rax+305h], 1                                         ; +0x7c, 0x10013110c\njnz     short loc_1001310EF                                            ; +0x83, 0x100131113\ncmp     dword ptr [rax+404h], 54h ; 'T'                                ; +0x85, 0x100131115\njnz     short loc_1001310D0                                            ; +0x8c, 0x10013111c\nmov     rcx, [rbx+0CB8h]                                               ; +0x8e, 0x10013111e\ncmp     byte ptr [rcx+977h], 1                                         ; +0x95, 0x100131125\njnz     short loc_1001310D0                                            ; +0x9c, 0x10013112c\nmov     rcx, [rax]                                                     ; +0x9e, 0x10013112e\nmov     rdi, rax                                                       ; +0xa1, 0x100131131\ncall    qword ptr [rcx+170h]                                           ; +0xa4, 0x100131134\nmovaps  xmm1, xmm0                                                     ; +0xaa, 0x10013113a\nmovss   xmm0, cs:dword_100A03A84                                       ; +0xad, 0x10013113d\nsubss   xmm0, xmm1                                                     ; +0xb5, 0x100131145\njmp     short loc_1001310E3                                            ; +0xb9, 0x100131149\npop     rbx                                                            ; +0xbb, 0x10013114b\npop     r12                                                            ; +0xbc, 0x10013114c\npop     r14                                                            ; +0xbe, 0x10013114e\npop     r15                                                            ; +0xc0, 0x100131150\npop     rbp                                                            ; +0xc2, 0x100131152\nretn                                                                   ; +0xc3, 0x100131153", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}