// // SetupPulsePopup::onSelectPulseMode from 0x1405d04a0 to 0x1405d06c9 (553 bytes) // // 4 xrefs: // > SetupPulsePopup::init @ 0x1405d0177 // > SetupPulsePopup::init @ 0x1405ce731 // > SetupPulsePopup::init @ 0x1405ce7e4 // > @ 0x14092e5ec // // 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:34:55 +0000 // int __fastcall SetupPulsePopup::onSelectPulseMode(__int64 a1, __int64 a2) { int v3; // ebp const char *v4; // rsi const char *v5; // rdi __int64 v6; // rax __int64 v7; // rax unsigned int v8; // esi unsigned int i; // edi struct cocos2d::CCObject *v10; // rax unsigned int j; // edi __int64 v12; // rdx struct cocos2d::CCObject *v13; // rax __int64 v14; // rax cocos2d::CCArray *v15; // rcx struct cocos2d::CCObject *v16; // rax if ( a2 ) v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); else v3 = -1; v4 = "GJ_button_04.png"; v5 = "GJ_button_04.png"; if ( !v3 ) v5 = "GJ_button_02.png"; v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1128) + 952LL))(*(_QWORD *)(a1 + 1128)); ButtonSprite::updateBGImage(v6, v5); if ( v3 == 1 ) v4 = "GJ_button_02.png"; v7 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1136) + 952LL))(*(_QWORD *)(a1 + 1136)); ButtonSprite::updateBGImage(v7, v4); v8 = 0; for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 1032)); ++i ) { v10 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 1032), i); (*(void (__fastcall **)(struct cocos2d::CCObject *, bool))(*(_QWORD *)v10 + 336LL))(v10, v3 == 0); } for ( j = 0; j < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 1040)); ++j ) { v13 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 1040), j); (*(void (__fastcall **)(struct cocos2d::CCObject *, bool))(*(_QWORD *)v13 + 336LL))(v13, v3 == 1); } LOBYTE(v12) = v3 == 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1192) + 920LL))(*(_QWORD *)(a1 + 1192), v12); (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1304) + 920LL))(*(_QWORD *)(a1 + 1304), v3 == 0); (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1312) + 920LL))(*(_QWORD *)(a1 + 1312), v3 == 0); (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1320) + 920LL))(*(_QWORD *)(a1 + 1320), v3 == 0); LODWORD(v14) = (*(__int64 (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1328) + 920LL))( *(_QWORD *)(a1 + 1328), v3 == 0); *(_DWORD *)(a1 + 1276) = v3; if ( !*(_BYTE *)(a1 + 1284) ) { v14 = *(_QWORD *)(a1 + 680); if ( v14 ) { *(_DWORD *)(v14 + 1620) = v3; } else { v15 = *(cocos2d::CCArray **)(a1 + 688); if ( v15 ) { LODWORD(v14) = cocos2d::CCArray::count(v15); if ( (_DWORD)v14 ) { do { v16 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 688), v8++); *((_DWORD *)v16 + 405) = *(_DWORD *)(a1 + 1276); LODWORD(v14) = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 688)); } while ( v8 < (unsigned int)v14 ); } } } } return v14; }
GD Web Decomp Icon

GD Web Decomp

Raw Source