// // sub_1002586A0 from 0x1002586a0 to 0x1002587f0 (336 bytes) // // 1 xrefs: // > LevelSettingsLayer::onSettings @ 0x10025868b // // 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:27:27 +0000 // char *__fastcall sub_1002586A0(__int64 a1) { char *v1; // rbx v1 = (char *)operator new(0x468u); SetupTriggerPopup::SetupTriggerPopup((__int64)v1); *(_OWORD *)(v1 + 1016) = 0xAFFFFFFFFuLL; *((_DWORD *)v1 + 268) = 0; *(_OWORD *)(v1 + 1080) = 0; *(_OWORD *)(v1 + 1096) = 0; *((_DWORD *)v1 + 278) = 1065353216; *(_QWORD *)v1 = off_100AF3E50; *((_QWORD *)v1 + 40) = off_100AF4458; *((_QWORD *)v1 + 41) = &off_100AF44C8; *((_QWORD *)v1 + 42) = off_100AF44E0; *((_QWORD *)v1 + 43) = off_100AF4500; *((_QWORD *)v1 + 44) = off_100AF4528; *((_QWORD *)v1 + 51) = off_100AF4558; *((_QWORD *)v1 + 54) = off_100AF45D8; *((_QWORD *)v1 + 68) = off_100AF45F8; *((_QWORD *)v1 + 83) = &off_100AF4640; *((_QWORD *)v1 + 84) = off_100AF4658; *((_DWORD *)v1 + 253) = 1109393408; *((_QWORD *)v1 + 129) = 0x430200003ECCCCCDLL; *((_QWORD *)v1 + 140) = a1; if ( (unsigned __int8)GJOptionsLayer::init(v1, 1, 280.0) ) { SetupTriggerPopup::preSetup(v1); SetupTriggerPopup::postSetup(v1); cocos2d::CCObject::autorelease(v1); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1); return nullptr; } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source