// // SetupCameraEdgePopup::updateTargetID from 0x1405ab230 to 0x1405ab2fd (205 bytes) // // 5 xrefs: // > SetupCameraEdgePopup::onUnlockEdge @ 0x1405ab083 // > SetupCameraEdgePopup::textChanged @ 0x1405ab183 // > @ 0x1408defb0 // > @ 0x1408defc0 // > @ 0x14092d740 // // 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:40 +0000 // int __fastcall SetupCameraEdgePopup::updateTargetID(__int64 a1) { int v1; // edx __int64 v3; // rax cocos2d::CCArray *v4; // rcx unsigned int v5; // edi struct cocos2d::CCObject *v6; // rax int v7; // ecx v1 = 0; if ( *(int *)(a1 + 1008) >= 0 ) v1 = *(_DWORD *)(a1 + 1008); v3 = *(_QWORD *)(a1 + 680); if ( v1 > 9999 ) v1 = 9999; *(_DWORD *)(a1 + 1008) = v1; if ( v3 ) { *(_DWORD *)(v3 + 1480) = v1; } else { v4 = *(cocos2d::CCArray **)(a1 + 688); if ( v4 ) { v5 = 0; for ( LODWORD(v3) = cocos2d::CCArray::count(v4); v5 < (unsigned int)v3; LODWORD(v3) = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 688)) ) { v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 688), v5); v7 = *(_DWORD *)(a1 + 1008); if ( v7 < 0 ) v7 = 0; if ( v7 > 9999 ) v7 = 9999; ++v5; *((_DWORD *)v6 + 370) = v7; } } } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source