{"type": "func", "start": 13405488, "end": 13405652, "name": "EditorSoundBrowserLayer::loadEditorSoundsFinished", "pseudocode": "// \n// EditorSoundBrowserLayer::loadEditorSoundsFinished from 0xcc8d30 to 0xcc8dd4 (164 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EditorSoundBrowserLayer::loadEditorSoundsFinished @ 0xcc8dd8\n// > <???> @ 0x80a70\n// > <???> @ 0x14fde38\n// \n// This function is hookable on this platform (idp: arm, 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 13:06:22 +0000\n// \n\n__int64 __fastcall EditorSoundBrowserLayer::loadEditorSoundsFinished(__int64 this, cocos2d::CCArray *a2, char *a3)\n{\n  __int64 v3; // x19\n  size_t v5; // x4\n\n  if ( a3 )\n  {\n    v3 = this;\n    this = strlen(a3);\n    v5 = *(_BYTE *)(v3 + 1144) >> 1;\n    if ( (*(_BYTE *)(v3 + 1144) & 1) != 0 )\n      v5 = *(_QWORD *)(v3 + 1152);\n    if ( v5 == this )\n    {\n      this = std::string::compare(v3 + 1144, 0, 0xFFFFFFFFFFFFFFFFLL, a3, v5);\n      if ( !(_DWORD)this )\n      {\n        EditorSoundBrowserLayer::showLoading((EditorSoundBrowserLayer *)v3, 0);\n        EditorSoundBrowserLayer::layoutCells(\n          (EditorSoundBrowserLayer *)v3,\n          a2,\n          (cocos2d::CCLabelBMFont *)\"No lists found.\");\n        return EditorSoundBrowserLayer::updatePageLabel((EditorSoundBrowserLayer *)v3);\n      }\n    }\n  }\n  return this;\n}", "assembly": "; \n; EditorSoundBrowserLayer::loadEditorSoundsFinished from 0xcc8d30 to 0xcc8dd4 (164 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EditorSoundBrowserLayer::loadEditorSoundsFinished @ 0xcc8dd8\n; > <???> @ 0x80a70\n; > <???> @ 0x14fde38\n; \n; This function is hookable on this platform (idp: arm, 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 13:06:22 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0xcc8d30\nMOV             X29, SP                                                ; +0x4, 0xcc8d34\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0xcc8d38\nSTR             X21, [SP,#0x40+var_20]                                 ; +0xc, 0xcc8d3c\nCBZ             X2, loc_CC8D74                                         ; +0x10, 0xcc8d40\nMOV             X19, X0                                                ; +0x14, 0xcc8d44\nMOV             X0, X2; char *                                         ; +0x18, 0xcc8d48\nMOV             X20, X1                                                ; +0x1c, 0xcc8d4c\nSTR             X2, [X29,#0x40+var_8]                                  ; +0x20, 0xcc8d50\nBL              .strlen                                                ; +0x24, 0xcc8d54\nADD             X21, X19, #0x478                                       ; +0x28, 0xcc8d58\nLDRB            W1, [X19,#0x478]                                       ; +0x2c, 0xcc8d5c\nLDR             X3, [X29,#0x40+var_8]; void *                          ; +0x30, 0xcc8d60\nUBFX            X4, X1, #1, #7                                         ; +0x34, 0xcc8d64\nTBNZ            W1, #0, loc_CC8DCC                                     ; +0x38, 0xcc8d68\nCMP             X4, X0                                                 ; +0x3c, 0xcc8d6c\nB.EQ            loc_CC8D84                                             ; +0x40, 0xcc8d70\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x44, 0xcc8d74\nLDR             X21, [SP,#0x40+var_20]                                 ; +0x48, 0xcc8d78\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x4c, 0xcc8d7c\nRET                                                                    ; +0x50, 0xcc8d80\nMOV             X0, X21; int                                           ; +0x54, 0xcc8d84\nMOV             X1, #0; int                                            ; +0x58, 0xcc8d88\nMOV             X2, #0xFFFFFFFFFFFFFFFF; int                           ; +0x5c, 0xcc8d8c\nBL              _ZNKSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7compareEmmPKcm; std::string::compare(ulong,ulong,char const*,ulong) ; +0x60, 0xcc8d90\nCBNZ            W0, loc_CC8D74                                         ; +0x64, 0xcc8d94\nMOV             X0, X19; this                                          ; +0x68, 0xcc8d98\nMOV             W1, #0; bool                                           ; +0x6c, 0xcc8d9c\nBL              _ZN23EditorSoundBrowserLayer11showLoadingEb; EditorSoundBrowserLayer::showLoading(bool) ; +0x70, 0xcc8da0\nADRP            X2, #aNoListsFound@PAGE; \"No lists found.\"             ; +0x74, 0xcc8da4\nMOV             X0, X19; this                                          ; +0x78, 0xcc8da8\nMOV             X1, X20; cocos2d::CCArray *                            ; +0x7c, 0xcc8dac\nADD             X2, X2, #aNoListsFound@PAGEOFF; \"No lists found.\"      ; +0x80, 0xcc8db0\nBL              _ZN23EditorSoundBrowserLayer11layoutCellsEPN7cocos2d7CCArrayEPKc; EditorSoundBrowserLayer::layoutCells(cocos2d::CCArray *,char const*) ; +0x84, 0xcc8db4\nLDR             X21, [SP,#0x40+var_20]                                 ; +0x88, 0xcc8db8\nMOV             X0, X19; this                                          ; +0x8c, 0xcc8dbc\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x90, 0xcc8dc0\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x94, 0xcc8dc4\nB               _ZN23EditorSoundBrowserLayer15updatePageLabelEv; EditorSoundBrowserLayer::updatePageLabel(void) ; +0x98, 0xcc8dc8\nLDR             X4, [X21,#8]                                           ; +0x9c, 0xcc8dcc\nB               loc_CC8D6C                                             ; +0xa0, 0xcc8dd0", "xrefs": ["`non-virtual thunk to'EditorSoundBrowserLayer::loadEditorSoundsFinished @ 0xcc8dd8", "<???> @ 0x80a70", "<???> @ 0x14fde38"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}