// // OptionsScrollLayer::addTagMatchToggle from 0x6bd8dc to 0x6bd9d6 (250 bytes) // // 1 xrefs: // > MusicBrowser::onTagFilters @ 0x6c0a0c // // 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:56:48 +0000 // cocos2d::CCDirector *__fastcall OptionsScrollLayer::addTagMatchToggle(cocos2d::CCDirector *this) { int v1; // r4 float v2; // s16 char *v3; // r0 ButtonSprite *v4; // r0 int v5; // r0 int v6; // r7 const cocos2d::CCPoint *v7; // r9 int (__fastcall *v8)(int, _BYTE *); // r8 float v9; // [sp+10h] [bp-2Ch] float v10[4]; // [sp+14h] [bp-28h] BYREF _BYTE v11[8]; // [sp+24h] [bp-18h] BYREF _BYTE v12[8]; // [sp+2Ch] [bp-10h] BYREF v1 = (int)this; if ( *((_DWORD *)this + 141) ) { cocos2d::CCDirector::sharedDirector(this); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v10); v2 = (float)((float)(v10[1] * 0.5) + 145.0) - 24.0; if ( *(_BYTE *)(*(_DWORD *)(v1 + 564) + 98) ) v3 = "Match: Any"; else v3 = "Match: All"; v4 = ButtonSprite::create( (ButtonSprite *)v3, (const char *)&dword_4C + 2, 0, 0.4, 1, "bigFont.fnt", "GJ_button_04.png", (const char *)0x41B00000, v9); LODWORD(v10[2]) = OptionsScrollLayer::onMatchToggle; v10[3] = 0.0; v5 = CCMenuItemSpriteExtra::create((int)v4, 0, v1, (int)OptionsScrollLayer::onMatchToggle, 0); *(_DWORD *)(v1 + 560) = v5; (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(v1 + 444) + 228))(*(_DWORD *)(v1 + 444), v5); v6 = *(_DWORD *)(v1 + 560); v7 = *(const cocos2d::CCPoint **)(v1 + 444); v8 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v6 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (float)((float)(v10[0] * 0.5) + 170.0) - 39.0, v2); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v11, v7); return (cocos2d::CCDirector *)v8(v6, v11); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source