{"type": "func", "start": 6046368, "end": 6046502, "name": "CCMoveCNode::reset", "pseudocode": "// \n// CCMoveCNode::reset from 0x5c42a0 to 0x5c4326 (134 bytes)\n// \n// 1 xrefs:\n// > sub_5C5940 @ 0x5c594c\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:53:51 +0000\n// \n\nint __fastcall CCMoveCNode::reset(CCMoveCNode *this)\n{\n  int v2; // r2\n  int v3; // r3\n  int result; // r0\n\n  *((_QWORD *)this + 7) = 0;\n  *((_QWORD *)this + 8) = 0;\n  *((_QWORD *)this + 9) = 0;\n  *((_QWORD *)this + 18) = 0;\n  *((_QWORD *)this + 19) = 0;\n  *((_QWORD *)this + 20) = 0;\n  *((_QWORD *)this + 21) = 0;\n  *((_QWORD *)this + 22) = 0;\n  *((_QWORD *)this + 24) = 0;\n  *((_QWORD *)this + 11) = 0;\n  *((_QWORD *)this + 12) = 0;\n  *((_QWORD *)this + 13) = 0;\n  v2 = *((_DWORD *)this + 52);\n  *((_QWORD *)this + 16) = 0x3FF0000000000000LL;\n  *((_QWORD *)this + 17) = 0x3FF0000000000000LL;\n  *((_DWORD *)this + 29) = 0;\n  *((_BYTE *)this + 120) = 0;\n  *((_DWORD *)this + 31) = 0;\n  *((_DWORD *)this + 46) = 0;\n  *((_BYTE *)this + 112) = 0;\n  *((_BYTE *)this + 113) = 0;\n  *((_BYTE *)this + 204) = 0;\n  *((_DWORD *)this + 50) = 0;\n  while ( 1 )\n  {\n    v3 = *((_DWORD *)this + 53);\n    if ( v2 == v3 )\n      break;\n    *((_DWORD *)this + 53) = v3 - 4;\n  }\n  result = (*(int (__fastcall **)(CCMoveCNode *, _DWORD))(*(_DWORD *)this + 36))(this, 0);\n  *((_DWORD *)this + 6) = 0;\n  return result;\n}", "assembly": "; \n; CCMoveCNode::reset from 0x5c42a0 to 0x5c4326 (134 bytes)\n; \n; 1 xrefs:\n; > sub_5C5940 @ 0x5c594c\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:53:51 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x5c42a0\nMOV             R4, R0                                                 ; +0x2, 0x5c42a2\nMOVS            R2, #0                                                 ; +0x4, 0x5c42a4\nMOVS            R3, #0                                                 ; +0x6, 0x5c42a6\nLDR             R1, =0x3FF00000                                        ; +0x8, 0x5c42a8\nSTRD.W          R2, R3, [R0,#0x38]                                     ; +0xa, 0x5c42aa\nSTRD.W          R2, R3, [R0,#0x40]                                     ; +0xe, 0x5c42ae\nSTRD.W          R2, R3, [R0,#0x48]                                     ; +0x12, 0x5c42b2\nMOVS            R0, #0                                                 ; +0x16, 0x5c42b6\nSTRD.W          R2, R3, [R4,#0x90]                                     ; +0x18, 0x5c42b8\nSTRD.W          R2, R3, [R4,#0x98]                                     ; +0x1c, 0x5c42bc\nSTRD.W          R2, R3, [R4,#0xA0]                                     ; +0x20, 0x5c42c0\nSTRD.W          R2, R3, [R4,#0xA8]                                     ; +0x24, 0x5c42c4\nSTRD.W          R2, R3, [R4,#0xB0]                                     ; +0x28, 0x5c42c8\nSTRD.W          R2, R3, [R4,#0xC0]                                     ; +0x2c, 0x5c42cc\nSTRD.W          R2, R3, [R4,#0x58]                                     ; +0x30, 0x5c42d0\nSTRD.W          R2, R3, [R4,#0x60]                                     ; +0x34, 0x5c42d4\nSTRD.W          R2, R3, [R4,#0x68]                                     ; +0x38, 0x5c42d8\nLDR.W           R2, [R4,#0xD0]                                         ; +0x3c, 0x5c42dc\nSTRD.W          R0, R1, [R4,#0x80]                                     ; +0x40, 0x5c42e0\nSTRD.W          R0, R1, [R4,#0x88]                                     ; +0x44, 0x5c42e4\nMOVS            R1, #0                                                 ; +0x48, 0x5c42e8\nSTR             R1, [R4,#0x74]                                         ; +0x4a, 0x5c42ea\nSTRB.W          R1, [R4,#0x78]                                         ; +0x4c, 0x5c42ec\nSTR             R1, [R4,#0x7C]                                         ; +0x50, 0x5c42f0\nSTR.W           R1, [R4,#0xB8]                                         ; +0x52, 0x5c42f2\nSTRB.W          R1, [R4,#0x70]                                         ; +0x56, 0x5c42f6\nSTRB.W          R1, [R4,#0x71]                                         ; +0x5a, 0x5c42fa\nSTRB.W          R1, [R4,#0xCC]                                         ; +0x5e, 0x5c42fe\nSTR.W           R1, [R4,#0xC8]                                         ; +0x62, 0x5c4302\nLDR.W           R3, [R4,#0xD4]                                         ; +0x66, 0x5c4306\nCMP             R2, R3                                                 ; +0x6a, 0x5c430a\nBEQ             loc_5C4316                                             ; +0x6c, 0x5c430c\nSUBS            R3, #4                                                 ; +0x6e, 0x5c430e\nSTR.W           R3, [R4,#0xD4]                                         ; +0x70, 0x5c4310\nB               loc_5C4306                                             ; +0x74, 0x5c4314\nLDR             R3, [R4]                                               ; +0x76, 0x5c4316\nMOV             R0, R4                                                 ; +0x78, 0x5c4318\nMOVS            R1, #0                                                 ; +0x7a, 0x5c431a\nLDR             R3, [R3,#0x24]                                         ; +0x7c, 0x5c431c\nBLX             R3                                                     ; +0x7e, 0x5c431e\nMOVS            R3, #0                                                 ; +0x80, 0x5c4320\nSTR             R3, [R4,#0x18]                                         ; +0x82, 0x5c4322\nPOP             {R4,PC}                                                ; +0x84, 0x5c4324", "xrefs": ["sub_5C5940 @ 0x5c594c"], "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"}