{"type": "func", "start": 7774116, "end": 7774294, "name": "DeathMarkerLayer::setFlipped", "pseudocode": "// \n// DeathMarkerLayer::setFlipped from 0x769fa4 to 0x76a056 (178 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::syncDeathMarkerFlip @ 0x592f4a\n// > GJBaseGameLayer::syncDeathMarkerFlip @ 0x592f5a\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:10 +0000\n// \n\nint __fastcall DeathMarkerLayer::setFlipped(int this, int a2)\n{\n  int v2; // r4\n  int *v4; // r5\n  int v5; // r7\n  unsigned int v6; // r4\n  int v7; // t1\n  float v8; // r1\n\n  v2 = this;\n  if ( *(unsigned __int8 *)(this + 349) != a2 )\n  {\n    *(_BYTE *)(this + 349) = a2;\n    this = *(_DWORD *)(this + 320);\n    if ( this )\n    {\n      this = (*(int (__fastcall **)(int))(*(_DWORD *)this + 244))(this);\n      if ( this )\n      {\n        this = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v2 + 320) + 244))(*(_DWORD *)(v2 + 320));\n        if ( this )\n        {\n          this = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v2 + 320) + 244))(*(_DWORD *)(v2 + 320));\n          if ( **(_DWORD **)(this + 52) )\n          {\n            v4 = *(int **)(*(_DWORD *)((*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v2 + 320) + 244))(*(_DWORD *)(v2 + 320))\n                                     + 52)\n                         + 12);\n            v5 = *(_DWORD *)(*(_DWORD *)((*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v2 + 320) + 244))(*(_DWORD *)(v2 + 320))\n                                       + 52)\n                           + 12);\n            this = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v2 + 320) + 244))(*(_DWORD *)(v2 + 320));\n            v6 = v5 + 4 * (**(_DWORD **)(this + 52) + 0x3FFFFFFF);\n            while ( (unsigned int)v4 <= v6 )\n            {\n              v7 = *v4++;\n              this = v7;\n              if ( !v7 )\n                break;\n              if ( a2 )\n                v8 = -0.5;\n              else\n                v8 = 0.5;\n              this = (*(int (__fastcall **)(int, float))(*(_DWORD *)this + 64))(this, COERCE_FLOAT(LODWORD(v8)));\n            }\n          }\n        }\n      }\n    }\n  }\n  return this;\n}", "assembly": "; \n; DeathMarkerLayer::setFlipped from 0x769fa4 to 0x76a056 (178 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::syncDeathMarkerFlip @ 0x592f4a\n; > GJBaseGameLayer::syncDeathMarkerFlip @ 0x592f5a\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:10 +0000\n; \nPUSH            {R3-R7,LR}                                             ; +0x0, 0x769fa4\nMOV             R4, R0                                                 ; +0x2, 0x769fa6\nVPUSH           {D8}                                                   ; +0x4, 0x769fa8\nMOV             R6, R1                                                 ; +0x8, 0x769fac\nLDRB.W          R3, [R0,#0x15D]                                        ; +0xa, 0x769fae\nCMP             R3, R1                                                 ; +0xe, 0x769fb2\nBEQ             loc_76A050                                             ; +0x10, 0x769fb4\nSTRB.W          R1, [R4,#0x15D]                                        ; +0x12, 0x769fb6\nLDR.W           R0, [R0,#0x140]                                        ; +0x16, 0x769fba\nCMP             R0, #0                                                 ; +0x1a, 0x769fbe\nBEQ             loc_76A050                                             ; +0x1c, 0x769fc0\nLDR             R3, [R0]                                               ; +0x1e, 0x769fc2\nLDR.W           R3, [R3,#0xF4]                                         ; +0x20, 0x769fc4\nBLX             R3                                                     ; +0x24, 0x769fc8\nCMP             R0, #0                                                 ; +0x26, 0x769fca\nBEQ             loc_76A050                                             ; +0x28, 0x769fcc\nLDR.W           R0, [R4,#0x140]                                        ; +0x2a, 0x769fce\nLDR             R3, [R0]                                               ; +0x2e, 0x769fd2\nLDR.W           R3, [R3,#0xF4]                                         ; +0x30, 0x769fd4\nBLX             R3                                                     ; +0x34, 0x769fd8\nCMP             R0, #0                                                 ; +0x36, 0x769fda\nBEQ             loc_76A050                                             ; +0x38, 0x769fdc\nLDR.W           R0, [R4,#0x140]                                        ; +0x3a, 0x769fde\nLDR             R3, [R0]                                               ; +0x3e, 0x769fe2\nLDR.W           R3, [R3,#0xF4]                                         ; +0x40, 0x769fe4\nBLX             R3                                                     ; +0x44, 0x769fe8\nLDR             R3, [R0,#0x34]                                         ; +0x46, 0x769fea\nLDR             R3, [R3]                                               ; +0x48, 0x769fec\nCBZ             R3, loc_76A050                                         ; +0x4a, 0x769fee\nLDR.W           R0, [R4,#0x140]                                        ; +0x4c, 0x769ff0\nVMOV.F32        S17, #-0.5                                             ; +0x50, 0x769ff4\nLDR             R3, [R0]                                               ; +0x54, 0x769ff8\nLDR.W           R3, [R3,#0xF4]                                         ; +0x56, 0x769ffa\nBLX             R3                                                     ; +0x5a, 0x769ffe\nVMOV.F32        S16, #0.5                                              ; +0x5c, 0x76a000\nLDR             R3, [R0,#0x34]                                         ; +0x60, 0x76a004\nLDR.W           R0, [R4,#0x140]                                        ; +0x62, 0x76a006\nLDR             R5, [R3,#0xC]                                          ; +0x66, 0x76a00a\nLDR             R3, [R0]                                               ; +0x68, 0x76a00c\nLDR.W           R3, [R3,#0xF4]                                         ; +0x6a, 0x76a00e\nBLX             R3                                                     ; +0x6e, 0x76a012\nLDR             R3, [R0,#0x34]                                         ; +0x70, 0x76a014\nLDR.W           R0, [R4,#0x140]                                        ; +0x72, 0x76a016\nLDR             R7, [R3,#0xC]                                          ; +0x76, 0x76a01a\nLDR             R3, [R0]                                               ; +0x78, 0x76a01c\nLDR.W           R3, [R3,#0xF4]                                         ; +0x7a, 0x76a01e\nBLX             R3                                                     ; +0x7e, 0x76a022\nLDR             R3, [R0,#0x34]                                         ; +0x80, 0x76a024\nLDR             R3, [R3]                                               ; +0x82, 0x76a026\nADD.W           R3, R3, #0x40000000                                    ; +0x84, 0x76a028\nSUBS            R3, #1                                                 ; +0x88, 0x76a02c\nADD.W           R4, R7, R3,LSL#2                                       ; +0x8a, 0x76a02e\nCMP             R5, R4                                                 ; +0x8e, 0x76a032\nBHI             loc_76A050                                             ; +0x90, 0x76a034\nLDR.W           R0, [R5],#4                                            ; +0x92, 0x76a036\nCBZ             R0, loc_76A050                                         ; +0x96, 0x76a03a\nLDR             R3, [R0]                                               ; +0x98, 0x76a03c\nCMP             R6, #0                                                 ; +0x9a, 0x76a03e\nITE EQ                                                                 ; +0x9c, 0x76a040\nVMOVEQ          R1, S16                                                ; +0x9e, 0x76a042\nVMOVNE          R1, S17                                                ; +0xa2, 0x76a046\nLDR             R3, [R3,#0x40]                                         ; +0xa6, 0x76a04a\nBLX             R3                                                     ; +0xa8, 0x76a04c\nB               loc_76A032                                             ; +0xaa, 0x76a04e\nVPOP            {D8}                                                   ; +0xac, 0x76a050\nPOP             {R3-R7,PC}                                             ; +0xb0, 0x76a054", "xrefs": ["GJBaseGameLayer::syncDeathMarkerFlip @ 0x592f4a", "GJBaseGameLayer::syncDeathMarkerFlip @ 0x592f5a"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}