{"type": "func", "start": 4296182032, "end": 4296182113, "name": "GJBaseGameLayer::resetMoveOptimizedValue", "pseudocode": "// \n// GJBaseGameLayer::resetMoveOptimizedValue from 0x100128910 to 0x100128961 (81 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::recreateGroups @ 0x1000c4511\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:43 +0000\n// \n\n_QWORD *__fastcall GJBaseGameLayer::resetMoveOptimizedValue(__int64 a1)\n{\n  _QWORD *result; // rax\n  __int64 v2; // rcx\n  unsigned __int64 v3; // rcx\n\n  result = *(_QWORD **)(a1 + 3280);\n  if ( result )\n  {\n    result = (_QWORD *)result[7];\n    v2 = *(unsigned int *)result;\n    if ( *(_DWORD *)result )\n    {\n      result = (_QWORD *)result[2];\n      v3 = (unsigned __int64)&result[v2 - 1];\n      do\n      {\n        if ( !*result )\n          break;\n        *(_BYTE *)(*result + 1290LL) = *(_BYTE *)(*result + 1289LL);\n        ++result;\n      }\n      while ( (unsigned __int64)result <= v3 );\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::resetMoveOptimizedValue from 0x100128910 to 0x100128961 (81 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::recreateGroups @ 0x1000c4511\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:43 +0000\n; \nmov     rax, [rdi+0CD0h]                                               ; +0x0, 0x100128910\ntest    rax, rax                                                       ; +0x7, 0x100128917\njz      short locret_100128960                                         ; +0xa, 0x10012891a\npush    rbp                                                            ; +0xc, 0x10012891c\nmov     rbp, rsp                                                       ; +0xd, 0x10012891d\nmov     rax, [rax+38h]                                                 ; +0x10, 0x100128920\nmov     ecx, [rax]                                                     ; +0x14, 0x100128924\ntest    rcx, rcx                                                       ; +0x16, 0x100128926\njz      short loc_10012895F                                            ; +0x19, 0x100128929\nmov     rax, [rax+10h]                                                 ; +0x1b, 0x10012892b\nlea     rcx, [rax+rcx*8]                                               ; +0x1f, 0x10012892f\nadd     rcx, 0FFFFFFFFFFFFFFF8h                                        ; +0x23, 0x100128933\nnop     word ptr [rax+rax+00000000h]                                   ; +0x27, 0x100128937\nmov     rdx, [rax]                                                     ; +0x30, 0x100128940\ntest    rdx, rdx                                                       ; +0x33, 0x100128943\njz      short loc_10012895F                                            ; +0x36, 0x100128946\nmovzx   esi, byte ptr [rdx+509h]                                       ; +0x38, 0x100128948\nmov     [rdx+50Ah], sil                                                ; +0x3f, 0x10012894f\nadd     rax, 8                                                         ; +0x46, 0x100128956\ncmp     rax, rcx                                                       ; +0x4a, 0x10012895a\njbe     short loc_100128940                                            ; +0x4d, 0x10012895d\npop     rbp                                                            ; +0x4f, 0x10012895f\nretn                                                                   ; +0x50, 0x100128960", "xrefs": ["LevelEditorLayer::recreateGroups @ 0x1000c4511"], "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"}