// // LevelSearchLayer::demonFilterSelectClosed from 0x100708650 to 0x10070870e (190 bytes) // // 2 xrefs: // > sub_100708730 @ 0x10070873c // > @ 0x100b97ef8 // // 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:36:02 +0000 // void __fastcall LevelSearchLayer::demonFilterSelectClosed(__int64 a1, unsigned int a2) { __int64 v2; // rax __int64 v3; // rax const std::string::value_type *CString; // rax __int64 v5; // rbx __int64 v6; // rax const char *data; // rsi __int64 v8; // rax std::string v9; // [rsp+0h] [rbp-30h] BYREF v2 = GameLevelManager::sharedState(); GameLevelManager::setIntForKey(v2, a2, "demon_filter"); memset(&v9, 0, sizeof(v9)); if ( a2 ) { v3 = sub_10088E820("difficulty_%02d_btn2_001.png", *(_BYTE *)&v9.__r_.__value_.__l.0); CString = (const std::string::value_type *)cocos2d::CCString::getCString(v3); std::string::assign(&v9, CString); } else { std::string::assign(&v9, "difficulty_06_btn_001.png"); } v5 = *(_QWORD *)(a1 + 488); v6 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); if ( (*(_BYTE *)&v9.__r_.__value_.__s.0 & 1) != 0 ) data = v9.__r_.__value_.__l.__data_; else data = v9.__r_.__value_.__s.__data_; v8 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, data); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 1160LL))(v5, v8); if ( (*(_BYTE *)&v9.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v9.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source