// // InfoLayer::setupBulkUI from 0x907e2c to 0x908148 (796 bytes) // // 2 xrefs: // > InfoLayer::init @ 0x90bc7c // > @ 0x64d80 // // This function is hookable on this platform (idp: arm, 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:57:10 +0000 // __int64 __fastcall InfoLayer::setupBulkUI(InfoLayer *this) { cocos2d::CCNotificationCenter *v2; // x0 int v3; // w0 cocos2d::CCDirector *v4; // x0 cocos2d::CCDirector *v5; // x0 float v6; // s8 const char *v7; // x2 __int64 v8; // x0 __int64 v9; // x23 void (__fastcall *v10)(__int64, _BYTE *); // x24 const char *v11; // x1 __int64 v12; // x23 __int64 v13; // x0 __int64 v14; // x23 cocos2d::CCNode *v15; // x25 void (__fastcall *v16)(__int64, __int64 *); // x24 const char *v17; // x1 __int64 v18; // x23 __int64 v19; // x0 __int64 v20; // x23 cocos2d::CCNode *v21; // x25 void (__fastcall *v22)(__int64, __int64 *); // x24 __int64 v24; // [xsp+60h] [xbp+60h] BYREF __int64 v25; // [xsp+68h] [xbp+68h] BYREF _BYTE v26[8]; // [xsp+70h] [xbp+70h] BYREF if ( InfoLayer::canBulkDelete((_BOOL8)this) ) { v2 = *((cocos2d::CCNotificationCenter **)this + 69); if ( v2 ) { v3 = cocos2d::CCNotificationCenter::sharedNotificationCenter(v2); v4 = (cocos2d::CCDirector *)cocos2d::CCNotificationCenter::addObserver( v3, (int)this, (int)InfoLayer::onCommentCellToggled, 0, "CommentCellToggleNotification"); v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4); cocos2d::CCDirector::getWinSize(&v24, v5); v6 = (float)(*(float *)&v24 * 0.5) + 195.0; v8 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)&byte_11B8890, "bigFont.fnt", v7); *((_QWORD *)this + 113) = v8; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 160LL))(v8, 0.4); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), *((_QWORD *)this + 113), 10); v9 = *((_QWORD *)this + 113); v10 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v9 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v26, v6, (float)(*((float *)&v24 + 1) * 0.5) + 82.0); v10(v9, v26); v12 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"threadBtn_selectAll_001.png", v11); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v12 + 160LL))(v12, 0.8); v13 = CCMenuItemSpriteExtra::create(v12, 0, (__int64)this, (__int64)InfoLayer::onBulkSelectAll, 0); *((_QWORD *)this + 114) = v13; CCMenuItemSpriteExtra::setSizeMult(v13, 1.3); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 69) + 456LL))( *((_QWORD *)this + 69), *((_QWORD *)this + 114)); v14 = *((_QWORD *)this + 114); v15 = *((cocos2d::CCNode **)this + 69); v16 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v14 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v26, v6, (float)(*((float *)&v24 + 1) * 0.5) + 62.0); cocos2d::CCNode::convertToNodeSpace(&v25, v15, (const cocos2d::CCPoint *)v26); v16(v14, &v25); v18 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"threadBtn_delete_001.png", v17); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v18 + 160LL))(v18, 0.8); v19 = CCMenuItemSpriteExtra::create(v18, 0, (__int64)this, (__int64)InfoLayer::onBulkDelete, 0); *((_QWORD *)this + 115) = v19; CCMenuItemSpriteExtra::setSizeMult(v19, 1.2); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 69) + 456LL))( *((_QWORD *)this + 69), *((_QWORD *)this + 115)); v20 = *((_QWORD *)this + 115); v21 = *((cocos2d::CCNode **)this + 69); v22 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v20 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v26, v6, (float)(*((float *)&v24 + 1) * 0.5) + 35.0); cocos2d::CCNode::convertToNodeSpace(&v25, v21, (const cocos2d::CCPoint *)v26); v22(v20, &v25); (*(void (__fastcall **)(InfoLayer *, __int64))(*(_QWORD *)this + 1088LL))(this, 1); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 113) + 344LL))(*((_QWORD *)this + 113), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 114) + 344LL))(*((_QWORD *)this + 114), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 114) + 1056LL))(*((_QWORD *)this + 114), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 115) + 344LL))(*((_QWORD *)this + 115), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 115) + 1056LL))(*((_QWORD *)this + 115), 0); InfoLayer::refreshBulkUI(this); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source