// // GJRateEditorSoundLayer::onSubmit from 0x566ba4 to 0x566c56 (178 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:52:28 +0000 // float __fastcall GJRateEditorSoundLayer::onSubmit(GJRateEditorSoundLayer *this, cocos2d::CCObject *a2) { float result; // r0 GameLevelManager *v4; // r0 int v5; // r3 int v6; // [sp+Ch] [bp-14h] int v7[3]; // [sp+10h] [bp-10h] BYREF result = (*(float (__fastcall **)(GJRateEditorSoundLayer *, int))(*(_DWORD *)this + 732))(this, -20); v6 = (int)result; if ( (int)result > 0 ) { v4 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)LODWORD(result)); result = COERCE_FLOAT(GameLevelManager::rateEditorSoundAdmin(v4, *(_DWORD *)(*((_DWORD *)this + 181) + 264), 1, v6, 0)); if ( result != 0.0 ) { *(_DWORD *)(GameLevelManager::sharedState((GameLevelManager *)LODWORD(result)) + 888) = (char *)this + 716; v5 = *((_DWORD *)this + 182); if ( v5 ) *(_DWORD *)(v5 + 520) = 0; memset(v7, 0, sizeof(v7)); std::string::__init(v7, "Featuring sound pack...", 0x17u); *((_DWORD *)this + 182) = UploadActionPopup::create((char *)this + 712, v7); std::string::~string((int)v7); return COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 182) + 656))(*((_DWORD *)this + 182))); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source