// // InfoLayer::setupBulkUI from 0x53d0ac to 0x53d2da (558 bytes) // // 1 xrefs: // > InfoLayer::init @ 0x54010e // // 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:52:15 +0000 // InfoLayer *__fastcall InfoLayer::setupBulkUI(const cocos2d::CCPoint **this) { InfoLayer *result; // r0 int v3; // r0 cocos2d::CCDirector *v4; // r0 float v5; // s16 const char *v6; // r2 const cocos2d::CCPoint *v7; // r0 int v8; // r7 void (__fastcall *v9)(int, _BYTE *); // r9 const char *v10; // r1 int v11; // r7 int v12; // r0 int v13; // r9 const cocos2d::CCPoint *v14; // r11 void (__fastcall *v15)(int, _BYTE *); // r10 const char *v16; // r1 int v17; // r9 int v18; // r0 int v19; // r9 const cocos2d::CCPoint *v20; // r11 void (__fastcall *v21)(int, _BYTE *); // r10 float v22; // [sp+Ch] [bp-38h] BYREF float v23; // [sp+10h] [bp-34h] _DWORD (__fastcall *v24)(InfoLayer *__hidden, cocos2d::CCObject *); // [sp+14h] [bp-30h] int v25; // [sp+18h] [bp-2Ch] _DWORD (*v26)(InfoLayer *__hidden, cocos2d::CCObject *); // [sp+1Ch] [bp-28h] int v27; // [sp+20h] [bp-24h] _DWORD (*v28)(InfoLayer *__hidden, cocos2d::CCObject *); // [sp+24h] [bp-20h] int v29; // [sp+28h] [bp-1Ch] _BYTE v30[8]; // [sp+2Ch] [bp-18h] BYREF _BYTE v31[8]; // [sp+34h] [bp-10h] BYREF result = (InfoLayer *)InfoLayer::canBulkDelete((InfoLayer *)this); if ( result ) { if ( *(this + 111) ) { v3 = cocos2d::CCNotificationCenter::sharedNotificationCenter(result); v24 = InfoLayer::onCommentCellToggled; v25 = 0; v4 = (cocos2d::CCDirector *)cocos2d::CCNotificationCenter::addObserver( v3, (int)this, (int)InfoLayer::onCommentCellToggled, 0, "CommentCellToggleNotification", 0); cocos2d::CCDirector::sharedDirector(v4); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v22); v5 = (float)(v22 * 0.5) + 195.0; v7 = (const cocos2d::CCPoint *)cocos2d::CCLabelBMFont::create( (cocos2d::CCLabelBMFont *)&unk_B6B226, "bigFont.fnt", v6); *(this + 163) = v7; (*(void (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v7 + 80))(v7, 1053609165); (*(void (__fastcall **)(_DWORD, _DWORD, int))(*(_DWORD *)*(this + 115) + 232))(*(this + 115), *(this + 163), 10); v8 = (int)*(this + 163); v9 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v8 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, v5, (float)(v23 * 0.5) + 82.0); v9(v8, v31); v11 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"threadBtn_selectAll_001.png", v10); (*(void (__fastcall **)(int, int))(*(_DWORD *)v11 + 80))(v11, 1061997773); v26 = InfoLayer::onBulkSelectAll; v27 = 0; v12 = CCMenuItemSpriteExtra::create(v11, 0, (int)this, (int)InfoLayer::onBulkSelectAll, 0); *(this + 164) = (const cocos2d::CCPoint *)v12; CCMenuItemSpriteExtra::setSizeMult(v12, 1.3); (*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), *(this + 164)); v13 = (int)*(this + 164); v14 = *(this + 111); v15 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v13 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, v5, (float)(v23 * 0.5) + 62.0); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v30, v14); v15(v13, v30); v17 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"threadBtn_delete_001.png", v16); (*(void (__fastcall **)(int, int))(*(_DWORD *)v17 + 80))(v17, 1061997773); v28 = InfoLayer::onBulkDelete; v29 = 0; v18 = CCMenuItemSpriteExtra::create(v17, 0, (int)this, (int)InfoLayer::onBulkDelete, 0); *(this + 165) = (const cocos2d::CCPoint *)v18; CCMenuItemSpriteExtra::setSizeMult(v18, 1.2); (*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), *(this + 165)); v19 = (int)*(this + 165); v20 = *(this + 111); v21 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v19 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, v5, (float)(v23 * 0.5) + 35.0); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v30, v20); v21(v19, v30); (*((void (__fastcall **)(const cocos2d::CCPoint **, int))*this + 136))(this, 1); (*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)*(this + 163) + 172))(*(this + 163), 0); (*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)*(this + 164) + 172))(*(this + 164), 0); (*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)*(this + 164) + 528))(*(this + 164), 0); (*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)*(this + 165) + 172))(*(this + 165), 0); (*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)*(this + 165) + 528))(*(this + 165), 0); return InfoLayer::refreshBulkUI((InfoLayer *)this); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source