// // sub_1003F10B4 from 0x1003f10b4 to 0x1003f13c4 (784 bytes) // // 1 xrefs: // > InfoLayer::init @ 0x1003ef778 // // 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 11:04:30 +0000 // __int64 __fastcall sub_1003F10B4(__int64 result) { __int64 v1; // x19 void *v2; // x0 __int64 v3; // x0 float v4; // s8 void *v5; // x0 __int64 v6; // x20 void *v7; // x20 void *v8; // x0 __int64 v9; // x20 __int64 v10; // x21 void *v11; // x20 void *v12; // x0 __int64 v13; // x20 __int64 v14; // x21 float v15; // [xsp+8h] [xbp-58h] BYREF __int64 v16; // [xsp+10h] [xbp-50h] BYREF __int64 v17; // [xsp+18h] [xbp-48h] BYREF v1 = result; if ( !*(_QWORD *)(result + 704) || (*(_BYTE *)(result + 880) & 1) == 0 ) { result = GameManager::sharedState(); if ( *(_DWORD *)(result + 1032) - *(_DWORD *)(result + 1036) == 2 ) { if ( *(_QWORD *)(v1 + 552) ) { v2 = sub_100306828(); sub_100306950((__int64)v2, v1, (__int64)sub_1003F20AC, 0, "CommentCellToggleNotification", 0); v3 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v3, &v17); v4 = (float)(*(float *)&v17 * 0.5) + 195.0; v5 = cocos2d::CCLabelBMFont::create_1("", "bigFont.fnt"); *(_QWORD *)(v1 + 904) = v5; (*(void (__fastcall **)(void *, float))(*(_QWORD *)v5 + 160LL))(v5, 0.4); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(v1 + 584) + 464LL))( *(_QWORD *)(v1 + 584), *(_QWORD *)(v1 + 904), 10); v6 = *(_QWORD *)(v1 + 904); sub_1000262BC((float *)&v16, v4, (float)(*((float *)&v17 + 1) * 0.5) + 82.0); (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v6 + 184LL))(v6, &v16); v7 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"threadBtn_selectAll_001.png"); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v7 + 160LL))(v7, 0.8); v8 = CCMenuItemSpriteExtra::create((__int64)v7, 0, v1, (__int64)sub_1003F236C, 0); *(_QWORD *)(v1 + 912) = v8; CCMenuItemSpriteExtra::setSizeMult((__int64)v8, 1.3); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v1 + 552) + 456LL))( *(_QWORD *)(v1 + 552), *(_QWORD *)(v1 + 912)); v9 = *(_QWORD *)(v1 + 912); v10 = *(_QWORD *)(v1 + 552); sub_1000262BC(&v15, v4, (float)(*((float *)&v17 + 1) * 0.5) + 62.0); cocos2d::CCNode::convertToNodeSpace(v10, (__int64)&v15, &v16); (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v9 + 184LL))(v9, &v16); v11 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"threadBtn_delete_001.png"); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v11 + 160LL))(v11, 0.8); v12 = CCMenuItemSpriteExtra::create((__int64)v11, 0, v1, (__int64)sub_1003F24C0, 0); *(_QWORD *)(v1 + 920) = v12; CCMenuItemSpriteExtra::setSizeMult((__int64)v12, 1.2); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v1 + 552) + 456LL))( *(_QWORD *)(v1 + 552), *(_QWORD *)(v1 + 920)); v13 = *(_QWORD *)(v1 + 920); v14 = *(_QWORD *)(v1 + 552); sub_1000262BC(&v15, v4, (float)(*((float *)&v17 + 1) * 0.5) + 35.0); cocos2d::CCNode::convertToNodeSpace(v14, (__int64)&v15, &v16); (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v13 + 184LL))(v13, &v16); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 1088LL))(v1, 1); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v1 + 904) + 344LL))(*(_QWORD *)(v1 + 904), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v1 + 912) + 344LL))(*(_QWORD *)(v1 + 912), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v1 + 912) + 1056LL))(*(_QWORD *)(v1 + 912), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v1 + 920) + 344LL))(*(_QWORD *)(v1 + 920), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v1 + 920) + 1056LL))(*(_QWORD *)(v1 + 920), 0); return InfoLayer::refreshBulkUI(v1); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source