{"type": "func", "start": 6442610144, "end": 6442610296, "name": "cocos2d::CCPointArray::reverseInline", "pseudocode": "// \n// cocos2d::CCPointArray::reverseInline from 0x180026de0 to 0x180026e78 (152 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b94fc\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:21:30 +0000\n// \n\nvoid __fastcall cocos2d::CCPointArray::reverseInline(cocos2d::CCPointArray *this)\n{\n  __int64 *v1; // r11\n  __int64 v2; // r10\n  __int64 v3; // rbx\n  __int64 v4; // rdx\n  unsigned __int64 v5; // rcx\n  unsigned __int64 v6; // rax\n  float *v7; // rcx\n  float *v8; // r9\n  int v9; // edx\n  int v10; // r8d\n\n  v1 = *((__int64 **)this + 7);\n  v2 = 0;\n  v3 = (v1[1] - *v1) >> 3;\n  if ( (unsigned int)v3 >> 1 )\n  {\n    do\n    {\n      v4 = *v1;\n      v5 = (v1[1] - *v1) >> 3;\n      if ( v5 <= (unsigned int)v2 || (v6 = (unsigned int)(v3 - v2 - 1), v5 <= v6) )\n        std::vector<void *>::_Xlen();\n      v7 = *(float **)(v4 + 8 * v2);\n      v2 = (unsigned int)(v2 + 1);\n      v8 = *(float **)(v4 + 8 * v6);\n      v9 = (int)*v7;\n      *v7 = *v8;\n      v10 = (int)v7[1];\n      v7[1] = v8[1];\n      *v8 = (float)v9;\n      v8[1] = (float)v10;\n    }\n    while ( (unsigned int)v2 < (unsigned int)v3 >> 1 );\n  }\n}", "assembly": "; \n; cocos2d::CCPointArray::reverseInline from 0x180026de0 to 0x180026e78 (152 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b94fc\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:21:30 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180026de0\npush    rdi                                                            ; +0x5, 0x180026de5\nsub     rsp, 20h                                                       ; +0x6, 0x180026de6\nmov     r11, [rcx+38h]                                                 ; +0xa, 0x180026dea\nxor     r10d, r10d                                                     ; +0xe, 0x180026dee\nmov     rbx, [r11+8]                                                   ; +0x11, 0x180026df1\nsub     rbx, [r11]                                                     ; +0x15, 0x180026df5\nsar     rbx, 3                                                         ; +0x18, 0x180026df8\nmov     edi, ebx                                                       ; +0x1c, 0x180026dfc\nshr     edi, 1                                                         ; +0x1e, 0x180026dfe\njz      short loc_180026E67                                            ; +0x20, 0x180026e00\nmov     rdx, [r11]                                                     ; +0x22, 0x180026e02\nmov     rcx, [r11+8]                                                   ; +0x25, 0x180026e05\nsub     rcx, rdx                                                       ; +0x29, 0x180026e09\nmov     r8d, r10d                                                      ; +0x2c, 0x180026e0c\nsar     rcx, 3                                                         ; +0x2f, 0x180026e0f\ncmp     rcx, r8                                                        ; +0x33, 0x180026e13\njbe     short loc_180026E72                                            ; +0x36, 0x180026e16\nmov     eax, ebx                                                       ; +0x38, 0x180026e18\nsub     eax, r10d                                                      ; +0x3a, 0x180026e1a\ndec     eax                                                            ; +0x3d, 0x180026e1d\nmov     r9d, eax                                                       ; +0x3f, 0x180026e1f\ncmp     rcx, r9                                                        ; +0x42, 0x180026e22\njbe     short loc_180026E72                                            ; +0x45, 0x180026e25\nmov     rcx, [rdx+r10*8]                                               ; +0x47, 0x180026e27\ninc     r10d                                                           ; +0x4b, 0x180026e2b\nmov     r9, [rdx+rax*8]                                                ; +0x4e, 0x180026e2e\ncvttss2si edx, dword ptr [rcx]                                         ; +0x52, 0x180026e32\nmov     eax, [r9]                                                      ; +0x56, 0x180026e36\nmov     [rcx], eax                                                     ; +0x59, 0x180026e39\nmov     eax, [r9+4]                                                    ; +0x5b, 0x180026e3b\ncvttss2si r8d, dword ptr [rcx+4]                                       ; +0x5f, 0x180026e3f\nmov     [rcx+4], eax                                                   ; +0x65, 0x180026e45\nmovd    xmm0, edx                                                      ; +0x68, 0x180026e48\ncvtdq2ps xmm0, xmm0                                                    ; +0x6c, 0x180026e4c\nmovd    xmm1, r8d                                                      ; +0x6f, 0x180026e4f\nmovss   dword ptr [r9], xmm0                                           ; +0x74, 0x180026e54\ncvtdq2ps xmm1, xmm1                                                    ; +0x79, 0x180026e59\nmovss   dword ptr [r9+4], xmm1                                         ; +0x7c, 0x180026e5c\ncmp     r10d, edi                                                      ; +0x82, 0x180026e62\njb      short loc_180026E02                                            ; +0x85, 0x180026e65\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x87, 0x180026e67\nadd     rsp, 20h                                                       ; +0x8c, 0x180026e6c\npop     rdi                                                            ; +0x90, 0x180026e70\nretn                                                                   ; +0x91, 0x180026e71\ncall    ?_Xlen@?$vector@PEAXV?$allocator@PEAX@std@@@std@@IEBAXXZ_3; std::vector<void *>::_Xlen(void) ; +0x92, 0x180026e72\ndb 0CCh                                                                ; +0x97, 0x180026e77", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b94fc"], "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"}