{"type": "func", "start": 5369860480, "end": 5369860788, "name": "DeathMarkerLayer::setFlipped", "pseudocode": "// \n// DeathMarkerLayer::setFlipped from 0x140119180 to 0x1401192b4 (308 bytes)\n// \n// 5 xrefs:\n// > GJBaseGameLayer::syncDeathMarkerFlip @ 0x14032ec66\n// > GJBaseGameLayer::syncDeathMarkerFlip @ 0x14032ec84\n// > <???> @ 0x140896f84\n// > <???> @ 0x140896fbc\n// > <???> @ 0x140916028\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 11:26:53 +0000\n// \n\nvoid __fastcall DeathMarkerLayer::setFlipped(__int64 a1, char a2)\n{\n  __int64 v3; // rcx\n  _QWORD *v4; // rdi\n  __int64 v5; // rbx\n  unsigned __int64 i; // rbx\n\n  if ( *(_BYTE *)(a1 + 473) != a2 )\n  {\n    *(_BYTE *)(a1 + 473) = a2;\n    v3 = *(_QWORD *)(a1 + 440);\n    if ( v3 )\n    {\n      if ( (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 480LL))(v3) )\n      {\n        if ( (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 440) + 480LL))(*(_QWORD *)(a1 + 440)) )\n        {\n          if ( **(_DWORD **)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 440) + 480LL))(*(_QWORD *)(a1 + 440))\n                           + 56) )\n          {\n            v4 = *(_QWORD **)(*(_QWORD *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 440) + 480LL))(*(_QWORD *)(a1 + 440))\n                                        + 56)\n                            + 16LL);\n            v5 = *(_QWORD *)(*(_QWORD *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 440) + 480LL))(*(_QWORD *)(a1 + 440))\n                                       + 56)\n                           + 16LL);\n            for ( i = v5\n                    + 8LL\n                    * **(unsigned int **)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 440) + 480LL))(*(_QWORD *)(a1 + 440))\n                                        + 56)\n                    - 8; (unsigned __int64)v4 <= i; ++v4 )\n            {\n              if ( !*v4 )\n                break;\n              (*(void (__fastcall **)(_QWORD))(*(_QWORD *)*v4 + 120LL))(*v4);\n            }\n          }\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; DeathMarkerLayer::setFlipped from 0x140119180 to 0x1401192b4 (308 bytes)\n; \n; 5 xrefs:\n; > GJBaseGameLayer::syncDeathMarkerFlip @ 0x14032ec66\n; > GJBaseGameLayer::syncDeathMarkerFlip @ 0x14032ec84\n; > <???> @ 0x140896f84\n; > <???> @ 0x140896fbc\n; > <???> @ 0x140916028\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 11:26:53 +0000\n; \nmov     [rsp+arg_10], rbp                                              ; +0x0, 0x140119180\npush    rsi                                                            ; +0x5, 0x140119185\nsub     rsp, 40h                                                       ; +0x6, 0x140119186\nmovzx   ebp, dl                                                        ; +0xa, 0x14011918a\nmov     rsi, rcx                                                       ; +0xd, 0x14011918d\ncmp     [rcx+1D9h], dl                                                 ; +0x10, 0x140119190\njz      loc_1401192A9                                                  ; +0x16, 0x140119196\nmov     [rcx+1D9h], dl                                                 ; +0x1c, 0x14011919c\nmov     rcx, [rcx+1B8h]                                                ; +0x22, 0x1401191a2\ntest    rcx, rcx                                                       ; +0x29, 0x1401191a9\njz      loc_1401192A9                                                  ; +0x2c, 0x1401191ac\nmov     rax, [rcx]                                                     ; +0x32, 0x1401191b2\ncall    qword ptr [rax+1E0h]                                           ; +0x35, 0x1401191b5\ntest    rax, rax                                                       ; +0x3b, 0x1401191bb\njz      loc_1401192A9                                                  ; +0x3e, 0x1401191be\nmov     rcx, [rsi+1B8h]                                                ; +0x44, 0x1401191c4\nmov     rax, [rcx]                                                     ; +0x4b, 0x1401191cb\ncall    qword ptr [rax+1E0h]                                           ; +0x4e, 0x1401191ce\ntest    rax, rax                                                       ; +0x54, 0x1401191d4\njz      loc_1401192A9                                                  ; +0x57, 0x1401191d7\nmov     rcx, [rsi+1B8h]                                                ; +0x5d, 0x1401191dd\nmov     rax, [rcx]                                                     ; +0x64, 0x1401191e4\ncall    qword ptr [rax+1E0h]                                           ; +0x67, 0x1401191e7\nmov     rcx, [rax+38h]                                                 ; +0x6d, 0x1401191ed\ncmp     dword ptr [rcx], 0                                             ; +0x71, 0x1401191f1\njbe     loc_1401192A9                                                  ; +0x74, 0x1401191f4\nmov     rcx, [rsi+1B8h]                                                ; +0x7a, 0x1401191fa\nmov     [rsp+48h+arg_0], rbx                                           ; +0x81, 0x140119201\nmov     [rsp+48h+arg_8], rdi                                           ; +0x86, 0x140119206\nmov     rax, [rcx]                                                     ; +0x8b, 0x14011920b\ncall    qword ptr [rax+1E0h]                                           ; +0x8e, 0x14011920e\nmov     rcx, [rax+38h]                                                 ; +0x94, 0x140119214\nmov     rdi, [rcx+10h]                                                 ; +0x98, 0x140119218\nmov     rcx, [rsi+1B8h]                                                ; +0x9c, 0x14011921c\nmov     rax, [rcx]                                                     ; +0xa3, 0x140119223\ncall    qword ptr [rax+1E0h]                                           ; +0xa6, 0x140119226\nmov     rcx, [rax+38h]                                                 ; +0xac, 0x14011922c\nmov     rbx, [rcx+10h]                                                 ; +0xb0, 0x140119230\nmov     rcx, [rsi+1B8h]                                                ; +0xb4, 0x140119234\nmov     rax, [rcx]                                                     ; +0xbb, 0x14011923b\ncall    qword ptr [rax+1E0h]                                           ; +0xbe, 0x14011923e\nmov     rcx, [rax+38h]                                                 ; +0xc4, 0x140119244\nmov     eax, [rcx]                                                     ; +0xc8, 0x140119248\nlea     rbx, [rbx+rax*8]                                               ; +0xca, 0x14011924a\nadd     rbx, 0FFFFFFFFFFFFFFF8h                                        ; +0xce, 0x14011924e\ncmp     rdi, rbx                                                       ; +0xd2, 0x140119252\nja      short loc_14011929F                                            ; +0xd5, 0x140119255\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0xd7, 0x140119257\nmovss   xmm6, cs:dword_140835C7C                                       ; +0xdc, 0x14011925c\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0xe4, 0x140119264\nmovss   xmm7, cs:dword_140834F20                                       ; +0xe9, 0x140119269\nmov     rcx, [rdi]                                                     ; +0xf1, 0x140119271\ntest    rcx, rcx                                                       ; +0xf4, 0x140119274\njz      short loc_140119295                                            ; +0xf7, 0x140119277\ntest    bpl, bpl                                                       ; +0xf9, 0x140119279\njz      short loc_140119283                                            ; +0xfc, 0x14011927c\nmovaps  xmm1, xmm6                                                     ; +0xfe, 0x14011927e\njmp     short loc_140119286                                            ; +0x101, 0x140119281\nmovaps  xmm1, xmm7                                                     ; +0x103, 0x140119283\nmov     rax, [rcx]                                                     ; +0x106, 0x140119286\ncall    qword ptr [rax+78h]                                            ; +0x109, 0x140119289\nadd     rdi, 8                                                         ; +0x10c, 0x14011928c\ncmp     rdi, rbx                                                       ; +0x110, 0x140119290\njbe     short loc_140119271                                            ; +0x113, 0x140119293\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x115, 0x140119295\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x11a, 0x14011929a\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x11f, 0x14011929f\nmov     rdi, [rsp+48h+arg_8]                                           ; +0x124, 0x1401192a4\nmov     rbp, [rsp+48h+arg_10]                                          ; +0x129, 0x1401192a9\nadd     rsp, 40h                                                       ; +0x12e, 0x1401192ae\npop     rsi                                                            ; +0x132, 0x1401192b2\nretn                                                                   ; +0x133, 0x1401192b3", "xrefs": ["GJBaseGameLayer::syncDeathMarkerFlip @ 0x14032ec66", "GJBaseGameLayer::syncDeathMarkerFlip @ 0x14032ec84", "<???> @ 0x140896f84", "<???> @ 0x140896fbc", "<???> @ 0x140916028"], "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"}