// // AudioEffectsLayer::create from 0x1004a8430 to 0x1004a8555 (293 bytes) // // 1 xrefs: // > PlayLayer::setupHasCompleted @ 0x10007b6a9 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 12:30:55 +0000 // _QWORD *__fastcall AudioEffectsLayer::create(__int128 *a1) { _QWORD *v1; // rbx char v2; // r14 __int128 v4; // [rsp+0h] [rbp-30h] BYREF void *__p; // [rsp+10h] [rbp-20h] v1 = operator new(0x250u); cocos2d::CCLayerColor::CCLayerColor(v1); *v1 = off_100B533B0; v1[40] = off_100B538D8; v1[41] = &off_100B53948; v1[42] = off_100B53960; v1[43] = off_100B53980; v1[44] = off_100B539A8; v1[51] = off_100B539D8; v1[54] = off_100B53A58; *((_DWORD *)v1 + 145) = 0; *((_BYTE *)v1 + 584) = 0; *((_OWORD *)v1 + 34) = 0; *((_OWORD *)v1 + 35) = 0; *((_BYTE *)v1 + 576) = 0; if ( (*(_BYTE *)a1 & 1) != 0 ) { sub_10001AD30(&v4, *((const void **)a1 + 2), *((_QWORD *)a1 + 1)); } else { __p = *((void **)a1 + 2); v4 = *a1; } v2 = AudioEffectsLayer::init(v1, &v4); if ( (v4 & 1) != 0 ) operator delete(__p); if ( v2 ) { cocos2d::CCObject::autorelease((__int64)v1); } else { (*(void (__fastcall **)(_QWORD *))(*v1 + 16LL))(v1); return nullptr; } return v1; }