{"type": "func", "start": 6442472720, "end": 6442472824, "name": "sub_180005510", "pseudocode": "// \n// sub_180005510 from 0x180005510 to 0x180005578 (104 bytes)\n// \n// 3 xrefs:\n// > cocos2d::extension::CCControl::init @ 0x180004233\n// > cocos2d::extension::CCScrollView::initWithViewSize @ 0x18001257b\n// > <???> @ 0x1800494f8\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 sub_180005510(_QWORD *a1)\n{\n  _QWORD *v1; // rdi\n  _QWORD *v3; // rbx\n  void *v4; // rcx\n\n  v1 = (_QWORD *)*a1;\n  v3 = *(_QWORD **)(*a1 + 8LL);\n  while ( !*((_BYTE *)v3 + 25) )\n  {\n    sub_180005580(a1, a1, v3[2]);\n    v4 = v3;\n    v3 = (_QWORD *)*v3;\n    j_j_free(v4);\n  }\n  v1[1] = v1;\n  *v1 = v1;\n  v1[2] = v1;\n  a1[1] = 0;\n}", "assembly": "; \n; sub_180005510 from 0x180005510 to 0x180005578 (104 bytes)\n; \n; 3 xrefs:\n; > cocos2d::extension::CCControl::init @ 0x180004233\n; > cocos2d::extension::CCScrollView::initWithViewSize @ 0x18001257b\n; > <???> @ 0x1800494f8\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_0], rbx                                               ; +0x0, 0x180005510\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180005515\npush    rdi                                                            ; +0xa, 0x18000551a\nsub     rsp, 20h                                                       ; +0xb, 0x18000551b\nmov     rdi, [rcx]                                                     ; +0xf, 0x18000551f\nmov     rsi, rcx                                                       ; +0x12, 0x180005522\nmov     rbx, [rdi+8]                                                   ; +0x15, 0x180005525\ncmp     byte ptr [rbx+19h], 0                                          ; +0x19, 0x180005529\njnz     short loc_180005555                                            ; +0x1d, 0x18000552d\nnop                                                                    ; +0x1f, 0x18000552f\nmov     r8, [rbx+10h]                                                  ; +0x20, 0x180005530\nmov     rdx, rsi                                                       ; +0x24, 0x180005534\nmov     rcx, rsi                                                       ; +0x27, 0x180005537\ncall    sub_180005580                                                  ; +0x2a, 0x18000553a\nmov     rcx, rbx; Block                                                ; +0x2f, 0x18000553f\nmov     edx, 28h ; '('                                                 ; +0x32, 0x180005542\nmov     rbx, [rbx]                                                     ; +0x37, 0x180005547\ncall    j_j_free                                                       ; +0x3a, 0x18000554a\ncmp     byte ptr [rbx+19h], 0                                          ; +0x3f, 0x18000554f\njz      short loc_180005530                                            ; +0x43, 0x180005553\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x45, 0x180005555\nmov     [rdi+8], rdi                                                   ; +0x4a, 0x18000555a\nmov     [rdi], rdi                                                     ; +0x4e, 0x18000555e\nmov     [rdi+10h], rdi                                                 ; +0x51, 0x180005561\nmov     qword ptr [rsi+8], 0                                           ; +0x55, 0x180005565\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x5d, 0x18000556d\nadd     rsp, 20h                                                       ; +0x62, 0x180005572\npop     rdi                                                            ; +0x66, 0x180005576\nretn                                                                   ; +0x67, 0x180005577", "xrefs": ["cocos2d::extension::CCControl::init @ 0x180004233", "cocos2d::extension::CCScrollView::initWithViewSize @ 0x18001257b", "<???> @ 0x1800494f8"], "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"}