// // SupportLayer::onSFX from 0x7db870 to 0x7dc000 (1936 bytes) // // 3 xrefs: // > @ 0x38760 // > SupportLayer::customSetup @ 0x7dd478 // > @ 0x1229be8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void SupportLayer::onSFX(SupportLayer *a1, cocos2d::CCObject *a2) { std::string v3; // x22 cocos2d::CCObject *v4; // x0 void *v5; // x0 void *v6; // x0 cocos2d::CCObject *v7; // x0 void *v8; // x0 void *v9; // x0 cocos2d::CCObject *v10; // x0 void *v11; // x0 void *v12; // x0 cocos2d::CCObject *v13; // x0 void *v14; // x0 void *v15; // x0 cocos2d::CCObject *v16; // x0 void *v17; // x0 void *v18; // x0 cocos2d::CCObject *v19; // x0 void *v20; // x0 void *v21; // x0 cocos2d::CCArray *v22; // x2 cocos2d::CCNode *v23; // x20 void *v24; // x0 unsigned int *v25; // x1 int v26; // w2 unsigned int *v27; // x1 int v28; // w2 unsigned int *v29; // x1 int v30; // w2 unsigned int *v31; // x1 int v32; // w2 unsigned int *v33; // x1 int v34; // w2 unsigned int *v35; // x1 int v36; // w2 unsigned int *v37; // x1 int v38; // w2 unsigned int *v39; // x1 int v40; // w2 unsigned int *v41; // x1 int v42; // w2 unsigned int *v43; // x1 int v44; // w2 unsigned int *v45; // x1 int v46; // w2 unsigned int *v47; // x1 int v48; // w3 unsigned int *v49; // x1 int v50; // w2 __int64 v51; // [xsp+78h] [xbp+78h] BYREF __int64 v52; // [xsp+80h] [xbp+80h] BYREF v3.m_data.m_data = (stl::StringData::Internal *)cocos2d::CCArray::create(_stack_chk_guard); sub_D153B8((int)&v51, "Epic Stock Media"); sub_D153B8((int)&v52, "https://epicstockmedia.com"); v4 = (cocos2d::CCObject *)CCURLObject::create((__int64)&v51, (__int64)&v52); cocos2d::CCArray::addObject((cocos2d::CCArray *)v3.m_data.m_data, v4); v5 = (void *)(v52 - 24); if ( (__int64 *)(v52 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v25 = (unsigned int *)(v52 - 8); do v26 = __ldaxr(v25); while ( __stlxr(v26 - 1, v25) ); } else { v26 = *(_DWORD *)(v52 - 8); *(_DWORD *)(v52 - 8) = v26 - 1; } if ( v26 <= 0 ) operator delete(v5); } v6 = (void *)(v51 - 24); if ( (__int64 *)(v51 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v27 = (unsigned int *)(v51 - 8); do v28 = __ldaxr(v27); while ( __stlxr(v28 - 1, v27) ); } else { v28 = *(_DWORD *)(v51 - 8); *(_DWORD *)(v51 - 8) = v28 - 1; } if ( v28 <= 0 ) operator delete(v6); } sub_D153B8((int)&v51, "Cyberwave Orchestra"); sub_D153B8((int)&v52, "https://cyberwaveorchestra.com"); v7 = (cocos2d::CCObject *)CCURLObject::create((__int64)&v51, (__int64)&v52); cocos2d::CCArray::addObject((cocos2d::CCArray *)v3.m_data.m_data, v7); v8 = (void *)(v52 - 24); if ( (__int64 *)(v52 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v29 = (unsigned int *)(v52 - 8); do v30 = __ldaxr(v29); while ( __stlxr(v30 - 1, v29) ); } else { v30 = *(_DWORD *)(v52 - 8); *(_DWORD *)(v52 - 8) = v30 - 1; } if ( v30 <= 0 ) operator delete(v8); } v9 = (void *)(v51 - 24); if ( (__int64 *)(v51 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v31 = (unsigned int *)(v51 - 8); do v32 = __ldaxr(v31); while ( __stlxr(v32 - 1, v31) ); } else { v32 = *(_DWORD *)(v51 - 8); *(_DWORD *)(v51 - 8) = v32 - 1; } if ( v32 <= 0 ) operator delete(v9); } sub_D153B8((int)&v51, "Fusehive"); sub_D153B8((int)&v52, "http://fusehive.com"); v10 = (cocos2d::CCObject *)CCURLObject::create((__int64)&v51, (__int64)&v52); cocos2d::CCArray::addObject((cocos2d::CCArray *)v3.m_data.m_data, v10); v11 = (void *)(v52 - 24); if ( (__int64 *)(v52 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v33 = (unsigned int *)(v52 - 8); do v34 = __ldaxr(v33); while ( __stlxr(v34 - 1, v33) ); } else { v34 = *(_DWORD *)(v52 - 8); *(_DWORD *)(v52 - 8) = v34 - 1; } if ( v34 <= 0 ) operator delete(v11); } v12 = (void *)(v51 - 24); if ( (__int64 *)(v51 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v35 = (unsigned int *)(v51 - 8); do v36 = __ldaxr(v35); while ( __stlxr(v36 - 1, v35) ); } else { v36 = *(_DWORD *)(v51 - 8); *(_DWORD *)(v51 - 8) = v36 - 1; } if ( v36 <= 0 ) operator delete(v12); } sub_D153B8((int)&v51, "SoundMorph"); sub_D153B8((int)&v52, "https://www.soundmorph.com"); v13 = (cocos2d::CCObject *)CCURLObject::create((__int64)&v51, (__int64)&v52); cocos2d::CCArray::addObject((cocos2d::CCArray *)v3.m_data.m_data, v13); v14 = (void *)(v52 - 24); if ( (__int64 *)(v52 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v37 = (unsigned int *)(v52 - 8); do v38 = __ldaxr(v37); while ( __stlxr(v38 - 1, v37) ); } else { v38 = *(_DWORD *)(v52 - 8); *(_DWORD *)(v52 - 8) = v38 - 1; } if ( v38 <= 0 ) operator delete(v14); } v15 = (void *)(v51 - 24); if ( (__int64 *)(v51 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v39 = (unsigned int *)(v51 - 8); do v40 = __ldaxr(v39); while ( __stlxr(v40 - 1, v39) ); } else { v40 = *(_DWORD *)(v51 - 8); *(_DWORD *)(v51 - 8) = v40 - 1; } if ( v40 <= 0 ) operator delete(v15); } sub_D153B8((int)&v51, "Stormwave Audio"); sub_D153B8((int)&v52, "https://stormwave-audio.com"); v16 = (cocos2d::CCObject *)CCURLObject::create((__int64)&v51, (__int64)&v52); cocos2d::CCArray::addObject((cocos2d::CCArray *)v3.m_data.m_data, v16); v17 = (void *)(v52 - 24); if ( (__int64 *)(v52 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v41 = (unsigned int *)(v52 - 8); do v42 = __ldaxr(v41); while ( __stlxr(v42 - 1, v41) ); } else { v42 = *(_DWORD *)(v52 - 8); *(_DWORD *)(v52 - 8) = v42 - 1; } if ( v42 <= 0 ) operator delete(v17); } v18 = (void *)(v51 - 24); if ( (__int64 *)(v51 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v43 = (unsigned int *)(v51 - 8); do v44 = __ldaxr(v43); while ( __stlxr(v44 - 1, v43) ); } else { v44 = *(_DWORD *)(v51 - 8); *(_DWORD *)(v51 - 8) = v44 - 1; } if ( v44 <= 0 ) operator delete(v18); } sub_D153B8((int)&v51, "David Dumais"); sub_D153B8((int)&v52, "https://www.daviddumaisaudio.com"); v19 = (cocos2d::CCObject *)CCURLObject::create((__int64)&v51, (__int64)&v52); cocos2d::CCArray::addObject((cocos2d::CCArray *)v3.m_data.m_data, v19); v20 = (void *)(v52 - 24); if ( (__int64 *)(v52 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v45 = (unsigned int *)(v52 - 8); do v46 = __ldaxr(v45); while ( __stlxr(v46 - 1, v45) ); } else { v46 = *(_DWORD *)(v52 - 8); *(_DWORD *)(v52 - 8) = v46 - 1; } if ( v46 <= 0 ) operator delete(v20); } v21 = (void *)(v51 - 24); if ( (__int64 *)(v51 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v47 = (unsigned int *)(v51 - 8); do v48 = __ldaxr(v47); while ( __stlxr(v48 - 1, v47) ); } else { v48 = *(_DWORD *)(v51 - 8); *(_DWORD *)(v51 - 8) = v48 - 1; } if ( v48 <= 0 ) operator delete(v21); } sub_D153B8((int)&v52, "SFX Library Credits"); v23 = (cocos2d::CCNode *)URLViewLayer::create((URLViewLayer *)&v52, v3, v22); v24 = (void *)(v52 - 24); if ( (__int64 *)(v52 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v49 = (unsigned int *)(v52 - 8); do v50 = __ldaxr(v49); while ( __stlxr(v50 - 1, v49) ); } else { v50 = *(_DWORD *)(v52 - 8); *(_DWORD *)(v52 - 8) = v50 - 1; } if ( v50 <= 0 ) operator delete(v24); } a1->addChild_0(a1, v23, 100); ((void (__fastcall *)(cocos2d::CCNode *, _QWORD))v23->__vftable[1].isIgnoreAnchorPointForPosition)(v23, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source