{"type": "func", "start": 6442480272, "end": 6442480395, "name": "cocos2d::CCArray::reverseObjects", "pseudocode": "// \n// cocos2d::CCArray::reverseObjects from 0x180007290 to 0x18000730b (123 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180131644\n// > <???> @ 0x180131654\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ad9f0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCArray::reverseObjects(cocos2d::CCArray *this)\n{\n  unsigned int num; // edi\n  int v3; // ebp\n  unsigned int v4; // edi\n  int i; // ebx\n\n  num = this->data->num;\n  if ( num > 1 )\n  {\n    v3 = (int)floorf((float)(int)num * 0.5);\n    v4 = num - 1;\n    for ( i = 0; i < v3; ++i )\n      sub_18009E0B0(this->data, (unsigned int)i, v4--);\n  }\n}", "assembly": "; \n; cocos2d::CCArray::reverseObjects from 0x180007290 to 0x18000730b (123 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180131644\n; > <???> @ 0x180131654\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ad9f0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_10], rsi                                              ; +0x0, 0x180007290\npush    rdi                                                            ; +0x5, 0x180007295\nsub     rsp, 20h                                                       ; +0x6, 0x180007296\nmov     rax, [rcx+38h]                                                 ; +0xa, 0x18000729a\nmov     rsi, rcx                                                       ; +0xe, 0x18000729e\nmov     edi, [rax]                                                     ; +0x11, 0x1800072a1\ncmp     edi, 1                                                         ; +0x13, 0x1800072a3\njbe     short loc_180007300                                            ; +0x16, 0x1800072a6\nxorps   xmm0, xmm0                                                     ; +0x18, 0x1800072a8\nmov     [rsp+28h+arg_0], rbx                                           ; +0x1b, 0x1800072ab\ncvtsi2ss xmm0, rdi                                                     ; +0x20, 0x1800072b0\nmov     [rsp+28h+arg_8], rbp                                           ; +0x25, 0x1800072b5\nmulss   xmm0, cs:dword_1800E6308; X                                    ; +0x2a, 0x1800072ba\ncall    floorf                                                         ; +0x32, 0x1800072c2\ncvttss2si ebp, xmm0                                                    ; +0x37, 0x1800072c7\ndec     edi                                                            ; +0x3b, 0x1800072cb\nxor     ebx, ebx                                                       ; +0x3d, 0x1800072cd\ntest    ebp, ebp                                                       ; +0x3f, 0x1800072cf\njle     short loc_1800072F6                                            ; +0x41, 0x1800072d1\nnop     dword ptr [rax+00h]                                            ; +0x43, 0x1800072d3\nnop     word ptr [rax+rax+00000000h]                                   ; +0x47, 0x1800072d7\nmov     rcx, [rsi+38h]                                                 ; +0x50, 0x1800072e0\nmov     r8d, edi                                                       ; +0x54, 0x1800072e4\nmov     edx, ebx                                                       ; +0x57, 0x1800072e7\ncall    sub_18009E0B0                                                  ; +0x59, 0x1800072e9\ndec     edi                                                            ; +0x5e, 0x1800072ee\ninc     ebx                                                            ; +0x60, 0x1800072f0\ncmp     ebx, ebp                                                       ; +0x62, 0x1800072f2\njl      short loc_1800072E0                                            ; +0x64, 0x1800072f4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x66, 0x1800072f6\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x6b, 0x1800072fb\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x70, 0x180007300\nadd     rsp, 20h                                                       ; +0x75, 0x180007305\npop     rdi                                                            ; +0x79, 0x180007309\nretn                                                                   ; +0x7a, 0x18000730a", "xrefs": ["<???> @ 0x180131644", "<???> @ 0x180131654", "<???> @ 0x1801438a8", "<???> @ 0x1801ad9f0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}