{"type": "func", "start": 5371094720, "end": 5371094983, "name": "GJBaseGameLayer::updateGuideArt", "pseudocode": "// \n// GJBaseGameLayer::updateGuideArt from 0x1402466c0 to 0x1402467c7 (263 bytes)\n// \n// 5 xrefs:\n// > GJBaseGameLayer::update @ 0x14023903b\n// > GJBaseGameLayer::update @ 0x1402392cb\n// > <???> @ 0x140682538\n// > <???> @ 0x14068259c\n// > <???> @ 0x1406ce640\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid GJBaseGameLayer::updateGuideArt(GJBaseGameLayer *a1)\n{\n  __m128 v1; // xmm0\n  cocos2d::CCArray *m_indicatorSprites; // rax\n  cocos2d::ccArray *data; // rsi\n  __int64 num; // rax\n  cocos2d::CCObject **arr; // rsi\n  cocos2d::CCObject **i; // rbp\n  cocos2d::CCObject *v8; // rdi\n  __int64 v9; // rax\n  cocos2d::CCObject_vtbl *v10; // rbx\n\n  m_indicatorSprites = a1->m_indicatorSprites;\n  if ( m_indicatorSprites )\n  {\n    data = m_indicatorSprites->data;\n    num = data->num;\n    if ( (_DWORD)num )\n    {\n      arr = data->arr;\n      for ( i = &arr[num - 1]; arr <= i; ++arr )\n      {\n        v8 = *arr;\n        if ( !*arr )\n          break;\n        v9 = ((__int64 (__fastcall *)(cocos2d::CCObject *))v8->__vftable[6].getTag)(*arr);\n        if ( *(_BYTE *)(v9 + 773) )\n        {\n          if ( *(_DWORD *)(v9 + 1036) == 84 && a1->m_player1->m_isUpsideDown )\n          {\n            v10 = v8->__vftable;\n            (*(float (__fastcall **)(__int64))(*(_QWORD *)v9 + 344LL))(v9);\n          }\n          else\n          {\n            v10 = v8->__vftable;\n            *(double *)v1.m128_u64 = (*(double (__fastcall **)(__int64))(*(_QWORD *)v9 + 344LL))(v9);\n            v1.m128_u64[1] = _mm_xor_ps(v1, (__m128)0x80000000).m128_u64[1];\n          }\n          v10[4].canEncode(v8);\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; GJBaseGameLayer::updateGuideArt from 0x1402466c0 to 0x1402467c7 (263 bytes)\n; \n; 5 xrefs:\n; > GJBaseGameLayer::update @ 0x14023903b\n; > GJBaseGameLayer::update @ 0x1402392cb\n; > <???> @ 0x140682538\n; > <???> @ 0x14068259c\n; > <???> @ 0x1406ce640\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    r14                                                            ; +0x0, 0x1402466c0\nsub     rsp, 40h                                                       ; +0x2, 0x1402466c2\nmov     rax, [rcx+3450h]                                               ; +0x6, 0x1402466c6\nmov     r14, rcx                                                       ; +0xd, 0x1402466cd\ntest    rax, rax                                                       ; +0x10, 0x1402466d0\njz      loc_1402467C0                                                  ; +0x13, 0x1402466d3\nmov     [rsp+48h+arg_10], rsi                                          ; +0x19, 0x1402466d9\nmov     rsi, [rax+38h]                                                 ; +0x1e, 0x1402466de\nmov     eax, [rsi]                                                     ; +0x22, 0x1402466e2\ntest    eax, eax                                                       ; +0x24, 0x1402466e4\njz      loc_1402467BB                                                  ; +0x26, 0x1402466e6\nmov     rsi, [rsi+10h]                                                 ; +0x2c, 0x1402466ec\nmov     [rsp+48h+arg_8], rbp                                           ; +0x30, 0x1402466f0\nlea     rbp, [rax-1]                                                   ; +0x35, 0x1402466f5\nlea     rbp, [rsi+rbp*8]                                               ; +0x39, 0x1402466f9\ncmp     rsi, rbp                                                       ; +0x3d, 0x1402466fd\nja      loc_1402467B6                                                  ; +0x40, 0x140246700\nmov     [rsp+48h+arg_18], rdi                                          ; +0x46, 0x140246706\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x4b, 0x14024670b\nmovss   xmm6, dword ptr cs:xmmword_1406243F0                           ; +0x50, 0x140246710\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0x58, 0x140246718\nmovss   xmm7, cs:dword_1406233A4                                       ; +0x5d, 0x14024671d\nmov     [rsp+48h+arg_0], rbx                                           ; +0x65, 0x140246725\nnop     word ptr [rax+rax+00h]                                         ; +0x6a, 0x14024672a\nmov     rdi, [rsi]                                                     ; +0x70, 0x140246730\ntest    rdi, rdi                                                       ; +0x73, 0x140246733\njz      short loc_1402467A2                                            ; +0x76, 0x140246736\nmov     rax, [rdi]                                                     ; +0x78, 0x140246738\nmov     rcx, rdi                                                       ; +0x7b, 0x14024673b\ncall    qword ptr [rax+1E8h]                                           ; +0x7e, 0x14024673e\nmov     rcx, rax                                                       ; +0x84, 0x140246744\ncmp     byte ptr [rax+305h], 0                                         ; +0x87, 0x140246747\njz      short loc_140246799                                            ; +0x8e, 0x14024674e\ncmp     dword ptr [rax+40Ch], 54h ; 'T'                                ; +0x90, 0x140246750\njnz     short loc_14024677E                                            ; +0x97, 0x140246757\nmov     rdx, [r14+0DA0h]                                               ; +0x99, 0x140246759\ncmp     byte ptr [rdx+9BFh], 0                                         ; +0xa0, 0x140246760\njz      short loc_14024677E                                            ; +0xa7, 0x140246767\nmov     rdx, [rax]                                                     ; +0xa9, 0x140246769\nmov     rbx, [rdi]                                                     ; +0xac, 0x14024676c\ncall    qword ptr [rdx+158h]                                           ; +0xaf, 0x14024676f\nmovaps  xmm1, xmm7                                                     ; +0xb5, 0x140246775\nsubss   xmm1, xmm0                                                     ; +0xb8, 0x140246778\njmp     short loc_140246790                                            ; +0xbc, 0x14024677c\nmov     rax, [rax]                                                     ; +0xbe, 0x14024677e\nmov     rbx, [rdi]                                                     ; +0xc1, 0x140246781\ncall    qword ptr [rax+158h]                                           ; +0xc4, 0x140246784\nxorps   xmm0, xmm6                                                     ; +0xca, 0x14024678a\nmovaps  xmm1, xmm0                                                     ; +0xcd, 0x14024678d\nmov     rcx, rdi                                                       ; +0xd0, 0x140246790\ncall    qword ptr [rbx+150h]                                           ; +0xd3, 0x140246793\nadd     rsi, 8                                                         ; +0xd9, 0x140246799\ncmp     rsi, rbp                                                       ; +0xdd, 0x14024679d\njbe     short loc_140246730                                            ; +0xe0, 0x1402467a0\nmov     rbx, [rsp+48h+arg_0]                                           ; +0xe2, 0x1402467a2\nmov     rdi, [rsp+48h+arg_18]                                          ; +0xe7, 0x1402467a7\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0xec, 0x1402467ac\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0xf1, 0x1402467b1\nmov     rbp, [rsp+48h+arg_8]                                           ; +0xf6, 0x1402467b6\nmov     rsi, [rsp+48h+arg_10]                                          ; +0xfb, 0x1402467bb\nadd     rsp, 40h                                                       ; +0x100, 0x1402467c0\npop     r14                                                            ; +0x104, 0x1402467c4\nretn                                                                   ; +0x106, 0x1402467c6", "xrefs": ["GJBaseGameLayer::update @ 0x14023903b", "GJBaseGameLayer::update @ 0x1402392cb", "<???> @ 0x140682538", "<???> @ 0x14068259c", "<???> @ 0x1406ce640"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}