// // InfoLayer::setupBulkUI from 0x1403d33b0 to 0x1403d36d2 (802 bytes) // // 4 xrefs: // > InfoLayer::init @ 0x1403cfd72 // > @ 0x1408c3624 // > @ 0x1408c3634 // > @ 0x140924818 // // 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 11:31:36 +0000 // char __fastcall InfoLayer::setupBulkUI(__int64 a1) { char result; // al __int64 v3; // rcx __int64 v4; // rax __int64 v5; // rcx __int64 v6; // rax float v7; // xmm8_4 struct cocos2d::CCLabelBMFont *v8; // rax __int64 *v9; // rdi __int64 v10; // rbx __int64 v11; // rax struct cocos2d::CCSprite *v12; // rax cocos2d::CCObject *v13; // rax __int64 *v14; // rsi __int64 v15; // rbx __int64 v16; // rdi __int64 v17; // rax __int64 v18; // rax struct cocos2d::CCSprite *v19; // rax cocos2d::CCObject *v20; // rax __int64 *v21; // rsi __int64 v22; // rbx __int64 v23; // rdi __int64 v24; // rax __int64 v25; // rax __int64 v26; // rdx float v27; // [rsp+78h] [rbp+10h] BYREF float v28; // [rsp+7Ch] [rbp+14h] char v29; // [rsp+80h] [rbp+18h] BYREF char v30; // [rsp+88h] [rbp+20h] BYREF result = InfoLayer::canBulkDelete(a1); if ( result ) { if ( *(_QWORD *)(a1 + 552) ) { v4 = cocos2d::CCNotificationCenter::sharedNotificationCenter(v3); cocos2d::CCNotificationCenter::addObserver( v4, a1, InfoLayer::onCommentCellToggled, "CommentCellToggleNotification", 0); v6 = cocos2d::CCDirector::sharedDirector(v5); cocos2d::CCDirector::getWinSize(v6, &v27); v7 = (float)(v27 * 0.5) + 195.0; v8 = cocos2d::CCLabelBMFont::create(&byte_1406ED6E0, (const char *)&qword_140704F78); *(_QWORD *)(a1 + 912) = v8; (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v8 + 160LL))(v8); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), *(_QWORD *)(a1 + 912), 10); v9 = *(__int64 **)(a1 + 912); v10 = *v9; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v29, v7, (float)(v28 * 0.5) + 82.0); (*(void (__fastcall **)(__int64 *, __int64))(v10 + 184))(v9, v11); v12 = cocos2d::CCSprite::createWithSpriteFrameName("threadBtn_selectAll_001.png"); LODWORD(v10) = (_DWORD)v12; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v12 + 160LL))(v12); v13 = CCMenuItemSpriteExtra::create(v10, 0, a1, (__int64)InfoLayer::onBulkSelectAll); *(_QWORD *)(a1 + 920) = v13; *((_DWORD *)v13 + 93) = 1067869798; (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), *(_QWORD *)(a1 + 920)); v14 = *(__int64 **)(a1 + 920); v15 = *(_QWORD *)(a1 + 552); v16 = *v14; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v29, v7, (float)(v28 * 0.5) + 62.0); cocos2d::CCNode::convertToNodeSpace(v15, &v30, v17); (*(void (__fastcall **)(__int64 *, __int64))(v16 + 184))(v14, v18); v19 = cocos2d::CCSprite::createWithSpriteFrameName("threadBtn_delete_001.png"); LODWORD(v15) = (_DWORD)v19; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v19 + 160LL))(v19); v20 = CCMenuItemSpriteExtra::create(v15, 0, a1, (__int64)InfoLayer::onBulkDelete); *(_QWORD *)(a1 + 928) = v20; *((_DWORD *)v20 + 93) = 1067030938; (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), *(_QWORD *)(a1 + 928)); v21 = *(__int64 **)(a1 + 928); v22 = *(_QWORD *)(a1 + 552); v23 = *v21; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v29, v7, (float)(v28 * 0.5) + 35.0); cocos2d::CCNode::convertToNodeSpace(v22, &v30, v24); (*(void (__fastcall **)(__int64 *, __int64))(v23 + 184))(v21, v25); LOBYTE(v26) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1008LL))(a1, v26); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 912) + 336LL))(*(_QWORD *)(a1 + 912), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 920) + 336LL))(*(_QWORD *)(a1 + 920), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 920) + 936LL))(*(_QWORD *)(a1 + 920), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 928) + 336LL))(*(_QWORD *)(a1 + 928), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 928) + 936LL))(*(_QWORD *)(a1 + 928), 0); return InfoLayer::refreshBulkUI(a1); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source