{"type": "func", "start": 7872000, "end": 7872054, "name": "EditorSoundBrowserLayer::showLoading", "pseudocode": "// \n// EditorSoundBrowserLayer::showLoading from 0x781e00 to 0x781e36 (54 bytes)\n// \n// 3 xrefs:\n// > EditorSoundBrowserLayer::loadEditorSoundsFinished @ 0x7820cc\n// > EditorSoundBrowserLayer::loadEditorSoundsFailed @ 0x782132\n// > EditorSoundBrowserLayer::loadCurrentPage @ 0x782578\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:29 +0000\n// \n\ncocos2d::CCNode **__fastcall EditorSoundBrowserLayer::showLoading(EditorSoundBrowserLayer *this, int a2, int a3)\n{\n  cocos2d::CCNode **result; // r0\n  cocos2d::CCLayerColor *v5; // r0\n  int v6; // r3\n\n  result = *((cocos2d::CCNode ***)this + 189);\n  if ( a2 )\n  {\n    if ( !result )\n    {\n      v5 = LoadingCircle::create(nullptr);\n      v6 = *((_DWORD *)this + 115);\n      *((_DWORD *)this + 189) = v5;\n      *((_DWORD *)v5 + 111) = v6;\n      return (cocos2d::CCNode **)LoadingCircle::show(*((cocos2d::CCNode ***)this + 189));\n    }\n  }\n  else if ( result )\n  {\n    result = (cocos2d::CCNode **)LoadingCircle::fadeAndRemove(result, 0, a3);\n    *((_DWORD *)this + 189) = 0;\n  }\n  return result;\n}", "assembly": "; \n; EditorSoundBrowserLayer::showLoading from 0x781e00 to 0x781e36 (54 bytes)\n; \n; 3 xrefs:\n; > EditorSoundBrowserLayer::loadEditorSoundsFinished @ 0x7820cc\n; > EditorSoundBrowserLayer::loadEditorSoundsFailed @ 0x782132\n; > EditorSoundBrowserLayer::loadCurrentPage @ 0x782578\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:29 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x781e00\nMOV             R4, R0                                                 ; +0x2, 0x781e02\nMOV             R5, R1                                                 ; +0x4, 0x781e04\nLDR.W           R0, [R0,#0x2F4]; this                                  ; +0x6, 0x781e06\nCBZ             R1, loc_781E2A                                         ; +0xa, 0x781e0a\nCBNZ            R0, locret_781E34                                      ; +0xc, 0x781e0c\nBL              _ZN13LoadingCircle6createEv; LoadingCircle::create(void) ; +0xe, 0x781e0e\nLDR.W           R3, [R4,#0x1CC]                                        ; +0x12, 0x781e12\nSTR.W           R0, [R4,#0x2F4]                                        ; +0x16, 0x781e16\nSTR.W           R3, [R0,#0x1BC]                                        ; +0x1a, 0x781e1a\nLDR.W           R0, [R4,#0x2F4]; this                                  ; +0x1e, 0x781e1e\nPOP.W           {R3-R5,LR}                                             ; +0x22, 0x781e22\nB.W             _ZN13LoadingCircle4showEv; LoadingCircle::show(void)   ; +0x26, 0x781e26\nCBZ             R0, locret_781E34                                      ; +0x2a, 0x781e2a\nBL              _ZN13LoadingCircle13fadeAndRemoveEv; LoadingCircle::fadeAndRemove(void) ; +0x2c, 0x781e2c\nSTR.W           R5, [R4,#0x2F4]                                        ; +0x30, 0x781e30\nPOP             {R3-R5,PC}                                             ; +0x34, 0x781e34", "xrefs": ["EditorSoundBrowserLayer::loadEditorSoundsFinished @ 0x7820cc", "EditorSoundBrowserLayer::loadEditorSoundsFailed @ 0x782132", "EditorSoundBrowserLayer::loadCurrentPage @ 0x782578"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}