// // LevelTools::moveTriggerObjectsToArray from 0x140468130 to 0x1404681f2 (194 bytes) // // 4 xrefs: // > LevelTools::sortChannelOrderObjects @ 0x140468423 // > @ 0x1408cdb7c // > @ 0x1408cdb8c // > @ 0x140927f14 // // 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:32:35 +0000 // int __fastcall LevelTools::moveTriggerObjectsToArray(cocos2d::CCArray *a1, cocos2d::CCDictionary *a2, int a3) { struct cocos2d::CCObject *v5; // rax cocos2d::CCArray *v6; // rbx struct cocos2d::CCObject *v7; // rdi struct cocos2d::CCObject *v8; // rax v5 = cocos2d::CCDictionary::objectForKey(a2, a3); v6 = v5; if ( v5 ) { LABEL_2: LODWORD(v5) = cocos2d::CCArray::count(v6); if ( (_DWORD)v5 ) { while ( 1 ) { LODWORD(v5) = cocos2d::CCArray::count(v6); if ( !(_DWORD)v5 ) break; v7 = cocos2d::CCArray::objectAtIndex(v6, 0); v8 = cocos2d::CCArray::objectAtIndex(v6, 0); cocos2d::CCArray::addObject(a1, v8); cocos2d::CCArray::removeObjectAtIndex(v6, 0, 1); if ( *((_DWORD *)v7 + 259) == 2900 && *((_BYTE *)v7 + 1876) ) { v5 = cocos2d::CCDictionary::objectForKey(a2, *((int *)v7 + 470)); v6 = v5; if ( v5 ) goto LABEL_2; return (int)v5; } } } } return (int)v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source