{"type": "func", "start": 4297681336, "end": 4297681400, "name": "GJBaseGameLayer::resetMoveOptimizedValue", "pseudocode": "// \n// GJBaseGameLayer::resetMoveOptimizedValue from 0x1002969b8 to 0x1002969f8 (64 bytes)\n// \n// 1 xrefs:\n// > sub_100403764 @ 0x10040377c\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:06 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::resetMoveOptimizedValue(__int64 result)\n{\n  __int64 v1; // x8\n  unsigned int *v2; // x8\n  __int64 v3; // x9\n  unsigned __int64 v4; // x8\n  unsigned __int64 v5; // x9\n\n  v1 = *(_QWORD *)(result + 3280);\n  if ( v1 )\n  {\n    v2 = *(unsigned int **)(v1 + 56);\n    v3 = *v2;\n    if ( (_DWORD)v3 )\n    {\n      v4 = *((_QWORD *)v2 + 2);\n      v5 = v4 + 8 * v3 - 8;\n      do\n      {\n        if ( !*(_QWORD *)v4 )\n          break;\n        *(_BYTE *)(*(_QWORD *)v4 + 1290LL) = *(_BYTE *)(*(_QWORD *)v4 + 1289LL);\n        v4 += 8LL;\n      }\n      while ( v4 <= v5 );\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::resetMoveOptimizedValue from 0x1002969b8 to 0x1002969f8 (64 bytes)\n; \n; 1 xrefs:\n; > sub_100403764 @ 0x10040377c\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:06 +0000\n; \nLDR             X8, [X0,#0xCD0]                                        ; +0x0, 0x1002969b8\nCBZ             X8, locret_1002969F4                                   ; +0x4, 0x1002969bc\nLDR             X8, [X8,#0x38]                                         ; +0x8, 0x1002969c0\nLDR             W9, [X8]                                               ; +0xc, 0x1002969c4\nCBZ             W9, locret_1002969F4                                   ; +0x10, 0x1002969c8\nLDR             X8, [X8,#0x10]                                         ; +0x14, 0x1002969cc\nADD             X9, X8, X9,LSL#3                                       ; +0x18, 0x1002969d0\nSUB             X9, X9, #8                                             ; +0x1c, 0x1002969d4\nLDR             X10, [X8]                                              ; +0x20, 0x1002969d8\nCBZ             X10, locret_1002969F4                                  ; +0x24, 0x1002969dc\nLDRB            W11, [X10,#0x509]                                      ; +0x28, 0x1002969e0\nSTRB            W11, [X10,#0x50A]                                      ; +0x2c, 0x1002969e4\nADD             X8, X8, #8                                             ; +0x30, 0x1002969e8\nCMP             X8, X9                                                 ; +0x34, 0x1002969ec\nB.LS            loc_1002969D8                                          ; +0x38, 0x1002969f0\nRET                                                                    ; +0x3c, 0x1002969f4", "xrefs": ["sub_100403764 @ 0x10040377c"], "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"}