{"type": "func", "start": 5370348544, "end": 5370348719, "name": "EditorSoundBrowserLayer::loadEditorSoundsFinished", "pseudocode": "// \n// EditorSoundBrowserLayer::loadEditorSoundsFinished from 0x140190400 to 0x1401904af (175 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x14074c228\n// > <???> @ 0x14089f514\n// > <???> @ 0x14089f524\n// > <???> @ 0x140919280\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:27:42 +0000\n// \n\nvoid __fastcall EditorSoundBrowserLayer::loadEditorSoundsFinished(_QWORD *a1, cocos2d::CCObject *a2, _BYTE *a3)\n{\n  __int64 v6; // rax\n  const void *v7; // rcx\n  size_t v8; // r8\n  __int64 v9; // rcx\n\n  if ( a3 )\n  {\n    v6 = -1;\n    do\n      ++v6;\n    while ( a3[v6] );\n    v7 = a1 + 17;\n    if ( a1[20] > 0xFu )\n      v7 = (const void *)a1[17];\n    v8 = a1[19];\n    if ( v8 == v6 && (!v8 || !memcmp(v7, a3, v8)) )\n    {\n      v9 = a1[10];\n      if ( v9 )\n      {\n        LoadingCircle::fadeAndRemove(v9);\n        a1[10] = 0;\n      }\n      EditorSoundBrowserLayer::layoutCells((__int64)(a1 - 125), a2, \"No lists found.\");\n      EditorSoundBrowserLayer::updatePageLabel((__int64)(a1 - 125));\n    }\n  }\n}", "assembly": "; \n; EditorSoundBrowserLayer::loadEditorSoundsFinished from 0x140190400 to 0x1401904af (175 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x14074c228\n; > <???> @ 0x14089f514\n; > <???> @ 0x14089f524\n; > <???> @ 0x140919280\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:27:42 +0000\n; \ntest    r8, r8                                                         ; +0x0, 0x140190400\njz      locret_1401904AE                                               ; +0x3, 0x140190403\nmov     [rsp+arg_8], rsi                                               ; +0x9, 0x140190409\npush    rdi                                                            ; +0xe, 0x14019040e\nsub     rsp, 20h                                                       ; +0xf, 0x14019040f\nmov     r9, r8                                                         ; +0x13, 0x140190413\nmov     rsi, rdx                                                       ; +0x16, 0x140190416\nmov     rdi, rcx                                                       ; +0x19, 0x140190419\nmov     rax, 0FFFFFFFFFFFFFFFFh                                        ; +0x1c, 0x14019041c\ninc     rax                                                            ; +0x23, 0x140190423\ncmp     byte ptr [r8+rax], 0                                           ; +0x26, 0x140190426\njnz     short loc_140190423                                            ; +0x2b, 0x14019042b\nadd     rcx, 88h                                                       ; +0x2d, 0x14019042d\ncmp     qword ptr [rdi+0A0h], 0Fh                                      ; +0x34, 0x140190434\njbe     short loc_140190445                                            ; +0x3c, 0x14019043c\nmov     rcx, [rdi+88h]; Buf1                                           ; +0x3e, 0x14019043e\nmov     r8, [rdi+98h]; Size                                            ; +0x45, 0x140190445\ncmp     r8, rax                                                        ; +0x4c, 0x14019044c\njnz     short loc_1401904A4                                            ; +0x4f, 0x14019044f\ntest    r8, r8                                                         ; +0x51, 0x140190451\njz      short loc_140190462                                            ; +0x54, 0x140190454\nmov     rdx, r9; Buf2                                                  ; +0x56, 0x140190456\ncall    memcmp                                                         ; +0x59, 0x140190459\ntest    eax, eax                                                       ; +0x5e, 0x14019045e\njnz     short loc_1401904A4                                            ; +0x60, 0x140190460\nmov     rcx, [rdi+50h]                                                 ; +0x62, 0x140190462\nmov     [rsp+28h+arg_0], rbx                                           ; +0x66, 0x140190466\ntest    rcx, rcx                                                       ; +0x6b, 0x14019046b\njz      short loc_14019047D                                            ; +0x6e, 0x14019046e\ncall    LoadingCircle__fadeAndRemove                                   ; +0x70, 0x140190470\nmov     qword ptr [rdi+50h], 0                                         ; +0x75, 0x140190475\nlea     r8, aNoListsFound_0; \"No lists found.\"                         ; +0x7d, 0x14019047d\nmov     rdx, rsi                                                       ; +0x84, 0x140190484\nlea     rcx, [rdi-3E8h]                                                ; +0x87, 0x140190487\ncall    EditorSoundBrowserLayer__layoutCells                           ; +0x8e, 0x14019048e\nlea     rcx, [rdi-3E8h]                                                ; +0x93, 0x140190493\ncall    EditorSoundBrowserLayer__updatePageLabel                       ; +0x9a, 0x14019049a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x9f, 0x14019049f\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xa4, 0x1401904a4\nadd     rsp, 20h                                                       ; +0xa9, 0x1401904a9\npop     rdi                                                            ; +0xad, 0x1401904ad\nretn                                                                   ; +0xae, 0x1401904ae", "xrefs": ["<???> @ 0x14074c228", "<???> @ 0x14089f514", "<???> @ 0x14089f524", "<???> @ 0x140919280"], "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"}