// // SetupObjectOptionsPopup::onPassable from 0x140596c60 to 0x140596cea (138 bytes) // // 2 xrefs: // > SetupObjectOptionsPopup::init @ 0x1405958bb // > @ 0x14092d0b0 // // 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:34 +0000 // char __fastcall SetupObjectOptionsPopup::onPassable(__int64 a1) { unsigned int v2; // eax __int64 v3; // rcx unsigned int v4; // edi struct cocos2d::CCObject *v5; // rax LOBYTE(v2) = *(_BYTE *)(a1 + 686) == 0; *(_BYTE *)(a1 + 686) = v2; v3 = *(_QWORD *)(a1 + 664); if ( v3 ) { *(_BYTE *)(v3 + 1301) = v2; } else { v4 = 0; v2 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 672)); if ( v2 ) { do { v5 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 672), v4++); *((_BYTE *)v5 + 1301) = *(_BYTE *)(a1 + 686); v2 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 672)); } while ( v4 < v2 ); } } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source