// // AudioEffectsLayer::create from 0x50a894 to 0x50a986 (242 bytes) // // 1 xrefs: // > PlayLayer::setupHasCompleted @ 0x40a286 // // 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:51:27 +0000 // int __fastcall AudioEffectsLayer::create(int a1) { int v2; // r4 int v3; // r1 int v4; // r2 int v5; // r7 int v7; // [sp+0h] [bp-14h] BYREF int v8; // [sp+4h] [bp-10h] int v9; // [sp+8h] [bp-Ch] v2 = operator new(0x1D8u); cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v2); *(_DWORD *)v2 = &off_CA6B28; *(_DWORD *)(v2 + 264) = &off_CA6DBC; *(_DWORD *)(v2 + 268) = &off_CA6DF4; *(_DWORD *)(v2 + 272) = &off_CA6E00; *(_DWORD *)(v2 + 276) = &off_CA6E10; *(_DWORD *)(v2 + 280) = &off_CA6E24; *(_DWORD *)(v2 + 316) = &off_CA6E3C; *(_DWORD *)(v2 + 332) = &off_CA6E7C; *(_DWORD *)(v2 + 452) = 0; *(_DWORD *)(v2 + 440) = 0; *(_DWORD *)(v2 + 444) = 0; *(_DWORD *)(v2 + 448) = 0; *(_DWORD *)(v2 + 456) = 0; *(_BYTE *)(v2 + 460) = 0; *(_DWORD *)(v2 + 464) = 0; *(_BYTE *)(v2 + 468) = 0; v7 = 0; v8 = 0; v9 = 0; if ( (*(_BYTE *)a1 & 1) != 0 ) { std::string::__init(&v7, *(const void **)(a1 + 8), *(_DWORD *)(a1 + 4)); } else { v3 = *(_DWORD *)(a1 + 4); v4 = *(_DWORD *)(a1 + 8); v7 = *(_DWORD *)a1; v8 = v3; v9 = v4; } v5 = AudioEffectsLayer::init((AudioEffectsLayer *)v2, (int)&v7); std::string::~string((int)&v7); if ( v5 ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); return v2; } else { (*(void (__fastcall **)(int))(*(_DWORD *)v2 + 8))(v2); return 0; } }